Another attempt to get this to compile.
authorRyan C. Gordon
Thu, 28 May 2015 01:08:33 -0400
changeset 9660b7188b6a6f2a
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
     1.1 --- a/src/joystick/windows/SDL_dinputjoystick.c	Thu May 28 01:02:03 2015 -0400
     1.2 +++ b/src/joystick/windows/SDL_dinputjoystick.c	Thu May 28 01:08:33 2015 -0400
     1.3 @@ -867,7 +867,7 @@
     1.4  
     1.5  #else /* !SDL_JOYSTICK_DINPUT */
     1.6  
     1.7 -struct JoyStick_DeviceData;
     1.8 +typedef struct JoyStick_DeviceData JoyStick_DeviceData;
     1.9  
    1.10  int
    1.11  SDL_DINPUT_JoystickInit(void)
     2.1 --- a/src/joystick/windows/SDL_xinputjoystick.c	Thu May 28 01:02:03 2015 -0400
     2.2 +++ b/src/joystick/windows/SDL_xinputjoystick.c	Thu May 28 01:08:33 2015 -0400
     2.3 @@ -339,7 +339,7 @@
     2.4  
     2.5  #else /* !SDL_JOYSTICK_XINPUT */
     2.6  
     2.7 -struct JoyStick_DeviceData;
     2.8 +typedef struct JoyStick_DeviceData JoyStick_DeviceData;
     2.9  
    2.10  SDL_bool SDL_XINPUT_Enabled(void)
    2.11  {