Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/w32api/include/zmouse.h')
-rw-r--r--winsup/w32api/include/zmouse.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/winsup/w32api/include/zmouse.h b/winsup/w32api/include/zmouse.h
index abb61ea74..764d43d13 100644
--- a/winsup/w32api/include/zmouse.h
+++ b/winsup/w32api/include/zmouse.h
@@ -21,7 +21,16 @@
# define WM_MOUSEWHEEL (WM_MOUSELAST + 1)
#endif
-#define WHEEL_DELTA 120
-#define WHEEL_PAGESCROLL UINT_MAX
+#ifndef WHEEL_DELTA
+# define WHEEL_DELTA 120
+#endif
+
+#ifndef WHEEL_PAGESCROLL
+# define WHEEL_PAGESCROLL UINT_MAX
+#endif
+
+#ifndef SPI_SETWHEELSCROLLLINES
+# define SPI_SETWHEELSCROLLLINES 105
+#endif
#endif /* _ZMOUSE_H */