[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/w32term.c
From: |
Jason Rumney |
Subject: |
[Emacs-diffs] Changes to emacs/src/w32term.c |
Date: |
Tue, 27 May 2003 17:18:22 -0400 |
Index: emacs/src/w32term.c
diff -c emacs/src/w32term.c:1.190 emacs/src/w32term.c:1.191
*** emacs/src/w32term.c:1.190 Mon May 26 19:01:05 2003
--- emacs/src/w32term.c Tue May 27 17:18:22 2003
***************
*** 73,78 ****
--- 73,83 ----
static int last_mousemove_x = 0;
static int last_mousemove_y = 0;
+ /* Define GET_WHEEL_DELTA_WPARAM macro if system headers don't. */
+ #ifndef GET_WHEEL_DELTA_WPARAM
+ #define GET_WHEEL_DELTA_WPARAM(wparam) ((short)HIWORD (wparam))
+ #endif
+
/* Non-zero means that a HELP_EVENT has been generated since Emacs
start. */