PATCH: dlls/dinput/joystick_linuxinput.c

Gerald Pfeifer gerald at pfeifer.com
Thu Mar 17 12:20:31 CST 2005


Recent changes to that cause caused a build failure on one of my
automated testers.  Fixed thusly, by aligning .h and .c files.

Gerald

ChangeLog:
Fix compilation of the case without proper Linux joystick support.

Index: joystick_linuxinput.c
===================================================================
RCS file: /home/wine/wine/dlls/dinput/joystick_linuxinput.c,v
retrieving revision 1.17
diff -u -3 -p -r1.17 joystick_linuxinput.c
--- joystick_linuxinput.c	15 Mar 2005 19:36:15 -0000	1.17
+++ joystick_linuxinput.c	17 Mar 2005 18:17:57 -0000
@@ -1089,7 +1089,7 @@ static IDirectInputDevice8WVtbl Joystick
 
 #else  /* HAVE_CORRECT_LINUXINPUT_H */
 
-struct dinput_device joystick_linuxinput_device = {
+const struct dinput_device joystick_linuxinput_device = {
   "Wine Linux-input joystick driver",
   NULL,
   NULL,



More information about the wine-patches mailing list