瀏覽代碼

WinRT build fix

David Ludwig 11 年之前
父節點
當前提交
1b341f5875
共有 1 個文件被更改,包括 2 次插入0 次删除
  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"
 #endif
 #include "../../core/windows/SDL_windows.h"
+#if !defined(__WINRT__)
 #include <dbt.h>
+#endif
 
 #define INITGUID /* Only set here, if set twice will cause mingw32 to break. */
 #include "SDL_windowsjoystick_c.h"