# HG changeset patch # User Sam Lantinga # Date 1356204198 28800 # Node ID a1d7ac35ca204f816d6edbc5f90dddf948ea566f # Parent c680e085a5f28ed9b28f5c98787d371e1ec82fa0 The latest version of MinGW-w64 has the necessary headers and libraries: http://mingw-w64.sourceforge.net/ diff -r c680e085a5f2 -r a1d7ac35ca20 include/SDL_config_windows.h --- a/include/SDL_config_windows.h Thu Dec 20 08:50:36 2012 -0800 +++ b/include/SDL_config_windows.h Sat Dec 22 11:23:18 2012 -0800 @@ -151,12 +151,7 @@ /* Enable various input drivers */ #define SDL_JOYSTICK_DINPUT 1 -#ifdef __GNUC__ -/* There isn't a compatible dinput.h for mingw as far as I know */ -#define SDL_HAPTIC_DISABLED 1 -#else #define SDL_HAPTIC_DINPUT 1 -#endif /* Enable various shared object loading systems */ #define SDL_LOADSO_WINDOWS 1