include/SDL_config_windows.h
changeset 6594 dccafb0699dc
parent 6430 48d519500f7e
child 6764 a1d7ac35ca20
     1.1 --- a/include/SDL_config_windows.h	Fri Oct 19 21:43:41 2012 -0700
     1.2 +++ b/include/SDL_config_windows.h	Sat Oct 20 00:14:58 2012 -0700
     1.3 @@ -142,14 +142,21 @@
     1.4  
     1.5  /* Enable various audio drivers */
     1.6  #define SDL_AUDIO_DRIVER_DSOUND	1
     1.7 +#ifndef __GNUC__
     1.8  #define SDL_AUDIO_DRIVER_XAUDIO2	1
     1.9 +#endif
    1.10  #define SDL_AUDIO_DRIVER_WINMM	1
    1.11  #define SDL_AUDIO_DRIVER_DISK	1
    1.12  #define SDL_AUDIO_DRIVER_DUMMY	1
    1.13  
    1.14  /* Enable various input drivers */
    1.15  #define SDL_JOYSTICK_DINPUT	1
    1.16 +#ifdef __GNUC__
    1.17 +/* There isn't a compatible dinput.h for mingw as far as I know */
    1.18 +#define SDL_HAPTIC_DISABLED	1
    1.19 +#else
    1.20  #define SDL_HAPTIC_DINPUT	1
    1.21 +#endif
    1.22  
    1.23  /* Enable various shared object loading systems */
    1.24  #define SDL_LOADSO_WINDOWS	1