Another attempt to get this to compile.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 28 May 2015 01:08:33 -0400
changeset 9660 b7188b6a6f2a
parent 9659 839c0c3bf555
child 9661 62a04df5afe1
Another attempt to get this to compile.
src/joystick/windows/SDL_dinputjoystick.c
src/joystick/windows/SDL_xinputjoystick.c
--- a/src/joystick/windows/SDL_dinputjoystick.c	Thu May 28 01:02:03 2015 -0400
+++ b/src/joystick/windows/SDL_dinputjoystick.c	Thu May 28 01:08:33 2015 -0400
@@ -867,7 +867,7 @@
 
 #else /* !SDL_JOYSTICK_DINPUT */
 
-struct JoyStick_DeviceData;
+typedef struct JoyStick_DeviceData JoyStick_DeviceData;
 
 int
 SDL_DINPUT_JoystickInit(void)
--- a/src/joystick/windows/SDL_xinputjoystick.c	Thu May 28 01:02:03 2015 -0400
+++ b/src/joystick/windows/SDL_xinputjoystick.c	Thu May 28 01:08:33 2015 -0400
@@ -339,7 +339,7 @@
 
 #else /* !SDL_JOYSTICK_XINPUT */
 
-struct JoyStick_DeviceData;
+typedef struct JoyStick_DeviceData JoyStick_DeviceData;
 
 SDL_bool SDL_XINPUT_Enabled(void)
 {