diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-09-24 13:06:53 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-09-24 13:06:53 +0300 |
commit | d4dfe4ea85328f7afd288cd43e141430db33e4e8 (patch) | |
tree | d3091cc82bfc7270cba859e6ea7e693a1a8391c1 /src/systime.h | |
parent | 4b930ccbb4fc4b848f318e09eddd172c2acf9b9b (diff) | |
download | emacs-d4dfe4ea85328f7afd288cd43e141430db33e4e8.tar.gz |
Fix fallout on MinGW64 from the previous commit.
src/systime.h (Time): Define as size_t, to be consistent with 64-bit
Windows builds, where 'long' is a 32-bit type.
src/w32inevt.h (w32_console_mouse_position): Update the argument
types to use 'Time'.
src/w32term.c (w32_mouse_position)
(x_horizontal_scroll_bar_report_motion)
(x_scroll_bar_report_motion): Update the argument types to use
'Time'.
Diffstat (limited to 'src/systime.h')
-rw-r--r-- | src/systime.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/systime.h b/src/systime.h index a834bce76dc..30a13d0ebcf 100644 --- a/src/systime.h +++ b/src/systime.h @@ -19,6 +19,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ #ifndef EMACS_SYSTIME_H #define EMACS_SYSTIME_H +#include <sys/types.h> #include <timespec.h> INLINE_HEADER_BEGIN @@ -27,7 +28,7 @@ INLINE_HEADER_BEGIN # ifdef HAVE_X_WINDOWS # include <X11/X.h> # else -typedef unsigned long Time; +typedef size_t Time; # endif #endif |