Mercurial > sdl-ios-xcode
diff src/joystick/android/SDL_sysjoystick.c @ 5092:327f181542f1
Include windows.h in a single point in the source, so we can be consistent about the definition of UNICODE and have core utility functions for Windows that all modules can share.
I think this also fixes the bug relating to non-latin characters in filenames, since UNICODE wasn't defined in SDL_rwops.c
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 24 Jan 2011 21:20:30 -0800 |
parents | 6a10693e66c3 |
children | b530ef003506 |
line wrap: on
line diff
--- a/src/joystick/android/SDL_sysjoystick.c Mon Jan 24 17:47:18 2011 -0800 +++ b/src/joystick/android/SDL_sysjoystick.c Mon Jan 24 21:20:30 2011 -0800 @@ -32,7 +32,7 @@ #include "SDL_joystick.h" #include "../SDL_sysjoystick.h" #include "../SDL_joystick_c.h" -#include "../../SDL_android.h" +#include "../../core/android/SDL_android.h" static const char *accelerometerName = "Android accelerometer";