comparison src/joystick/win32/SDL_dxjoystick.c @ 2770:c3ff3d5d16f0

Fixed compilation on mingw32.
author Edgar Simo <bobbens@gmail.com>
date Tue, 14 Oct 2008 18:28:28 +0000
parents 0c544c2eff77
children 99210400e8b9
comparison
equal deleted inserted replaced
2769:2a46b5912665 2770:c3ff3d5d16f0
36 #include "SDL_error.h" 36 #include "SDL_error.h"
37 #include "SDL_events.h" 37 #include "SDL_events.h"
38 #include "SDL_joystick.h" 38 #include "SDL_joystick.h"
39 #include "../SDL_sysjoystick.h" 39 #include "../SDL_sysjoystick.h"
40 #include "../SDL_joystick_c.h" 40 #include "../SDL_joystick_c.h"
41 #define INITGUID /* Only set here, if set twice will cause mingw32 to break. */
41 #include "SDL_dxjoystick_c.h" 42 #include "SDL_dxjoystick_c.h"
42 43
43 44
44 #ifndef DIDFT_OPTIONAL 45 #ifndef DIDFT_OPTIONAL
45 #define DIDFT_OPTIONAL 0x80000000 46 #define DIDFT_OPTIONAL 0x80000000