Explorar el Código

WinRT build fix

David Ludwig hace 11 años
padre
commit
1b341f5875
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/joystick/windows/SDL_windowsjoystick.c

+ 2 - 0
src/joystick/windows/SDL_windowsjoystick.c

@@ -46,7 +46,9 @@
 #include "../../events/SDL_events_c.h"
 #include "../../events/SDL_events_c.h"
 #endif
 #endif
 #include "../../core/windows/SDL_windows.h"
 #include "../../core/windows/SDL_windows.h"
+#if !defined(__WINRT__)
 #include <dbt.h>
 #include <dbt.h>
+#endif
 
 
 #define INITGUID /* Only set here, if set twice will cause mingw32 to break. */
 #define INITGUID /* Only set here, if set twice will cause mingw32 to break. */
 #include "SDL_windowsjoystick_c.h"
 #include "SDL_windowsjoystick_c.h"