dinput: compilation fix
Huw D M Davies
h.davies1 at physics.ox.ac.uk
Mon Sep 5 06:23:00 CDT 2005
Huw Davies <huw at codeweavers.com>
define FF_STATUS_STOPPED and EV_FF_STATUS if they're not
already defined in the headers.
--
Huw Davies
huw at codeweavers.com
Index: dlls/dinput/joystick_linuxinput.c
===================================================================
RCS file: /home/wine/wine/dlls/dinput/joystick_linuxinput.c,v
retrieving revision 1.26
diff -u -p -r1.26 joystick_linuxinput.c
--- dlls/dinput/joystick_linuxinput.c 3 Sep 2005 15:02:38 -0000 1.26
+++ dlls/dinput/joystick_linuxinput.c 5 Sep 2005 11:21:17 -0000
@@ -63,6 +63,13 @@ WINE_DEFAULT_DEBUG_CHANNEL(dinput);
#ifdef HAVE_CORRECT_LINUXINPUT_H
+#ifndef FF_STATUS_STOPPED
+#define FF_STATUS_STOPPED 0x00
+#endif
+#ifndef EV_FF_STATUS
+#define EV_FF_STATUS 0x17
+#endif
+
#define EVDEVPREFIX "/dev/input/event"
/* Wine joystick driver object instances */
More information about the wine-patches
mailing list