=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: dinput: Don' t use autoheader styled define.
Alexandre Julliard
julliard at winehq.org
Tue Jun 18 14:42:10 CDT 2013
Module: wine
Branch: master
Commit: c5e9479b85427510610acb11441e6467bf6fa5cc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c5e9479b85427510610acb11441e6467bf6fa5cc
Author: André Hentschel <nerv at dawncrow.de>
Date: Mon Jun 17 21:56:55 2013 +0200
dinput: Don't use autoheader styled define.
---
dlls/dinput/joystick_linuxinput.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c
index 6b22f4a..5d1cacc 100644
--- a/dlls/dinput/joystick_linuxinput.c
+++ b/dlls/dinput/joystick_linuxinput.c
@@ -43,7 +43,7 @@
# include <linux/input.h>
# undef SW_MAX
# if defined(EVIOCGBIT) && defined(EV_ABS) && defined(BTN_PINKIE)
-# define HAVE_CORRECT_LINUXINPUT_H
+# define HAS_PROPER_HEADER
# endif
#endif
#ifdef HAVE_SYS_POLL_H
@@ -65,7 +65,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(dinput);
-#ifdef HAVE_CORRECT_LINUXINPUT_H
+#ifdef HAS_PROPER_HEADER
#define EVDEVPREFIX "/dev/input/event"
#define EVDEVDRIVER " (event)"
@@ -1478,7 +1478,7 @@ static const IDirectInputDevice8WVtbl JoystickWvt =
IDirectInputDevice8WImpl_GetImageInfo
};
-#else /* HAVE_CORRECT_LINUXINPUT_H */
+#else /* HAS_PROPER_HEADER */
const struct dinput_device joystick_linuxinput_device = {
"Wine Linux-input joystick driver",
@@ -1487,4 +1487,4 @@ const struct dinput_device joystick_linuxinput_device = {
NULL
};
-#endif /* HAVE_CORRECT_LINUXINPUT_H */
+#endif /* HAS_PROPER_HEADER */
More information about the wine-cvs
mailing list