WinRT build fix
authorDavid Ludwig
Wed, 15 Oct 2014 15:50:35 -0400
changeset 9166e5a2e31d4bee
parent 9165 9cd9e1491227
child 9167 3d2c0f659ad3
WinRT build fix
src/joystick/windows/SDL_windowsjoystick.c
     1.1 --- a/src/joystick/windows/SDL_windowsjoystick.c	Wed Oct 15 16:26:51 2014 +0000
     1.2 +++ b/src/joystick/windows/SDL_windowsjoystick.c	Wed Oct 15 15:50:35 2014 -0400
     1.3 @@ -46,7 +46,9 @@
     1.4  #include "../../events/SDL_events_c.h"
     1.5  #endif
     1.6  #include "../../core/windows/SDL_windows.h"
     1.7 +#if !defined(__WINRT__)
     1.8  #include <dbt.h>
     1.9 +#endif
    1.10  
    1.11  #define INITGUID /* Only set here, if set twice will cause mingw32 to break. */
    1.12  #include "SDL_windowsjoystick_c.h"