Explorar el Código

WinRT: build fix in joystick code

David Ludwig hace 9 años
padre
commit
3c8a26984d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/joystick/windows/SDL_windowsjoystick_c.h

+ 2 - 0
src/joystick/windows/SDL_windowsjoystick_c.h

@@ -83,7 +83,9 @@ struct joystick_hwdata
     DWORD dwPacketNumber;
 };
 
+#if SDL_JOYSTICK_DINPUT
 extern const DIDATAFORMAT SDL_c_dfDIJoystick2;
+#endif
 
 extern void SDL_SYS_AddJoystickDevice(JoyStick_DeviceData *device);