SDL: Fix SDL 1.2 build
Jeffrey Pfau jeffrey@endrift.com
Wed, 17 Feb 2016 23:04:03 -0800
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
src/platform/sdl/sdl-events.h
→
src/platform/sdl/sdl-events.h
@@ -25,11 +25,13 @@
struct Configuration; struct SDL_JoystickCombo { - SDL_JoystickID id; size_t index; SDL_Joystick* joystick; #if SDL_VERSION_ATLEAST(2, 0, 0) SDL_Haptic* haptic; + SDL_JoystickID id; +#else + int id; #endif };