The latest version of MinGW-w64 has the necessary headers and libraries: http://mingw-w64.sourceforge.net/
authorSam Lantinga <slouken@libsdl.org>
Sat, 22 Dec 2012 11:23:18 -0800
changeset 6764a1d7ac35ca20
parent 6762 c680e085a5f2
child 6765 5448f332bfe6
The latest version of MinGW-w64 has the necessary headers and libraries: http://mingw-w64.sourceforge.net/
include/SDL_config_windows.h
     1.1 --- a/include/SDL_config_windows.h	Thu Dec 20 08:50:36 2012 -0800
     1.2 +++ b/include/SDL_config_windows.h	Sat Dec 22 11:23:18 2012 -0800
     1.3 @@ -151,12 +151,7 @@
     1.4  
     1.5  /* Enable various input drivers */
     1.6  #define SDL_JOYSTICK_DINPUT	1
     1.7 -#ifdef __GNUC__
     1.8 -/* There isn't a compatible dinput.h for mingw as far as I know */
     1.9 -#define SDL_HAPTIC_DISABLED	1
    1.10 -#else
    1.11  #define SDL_HAPTIC_DINPUT	1
    1.12 -#endif
    1.13  
    1.14  /* Enable various shared object loading systems */
    1.15  #define SDL_LOADSO_WINDOWS	1