Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
5091:79bd1e289005 | 5092:327f181542f1 |
---|---|
30 #include "SDL_error.h" | 30 #include "SDL_error.h" |
31 #include "SDL_events.h" | 31 #include "SDL_events.h" |
32 #include "SDL_joystick.h" | 32 #include "SDL_joystick.h" |
33 #include "../SDL_sysjoystick.h" | 33 #include "../SDL_sysjoystick.h" |
34 #include "../SDL_joystick_c.h" | 34 #include "../SDL_joystick_c.h" |
35 #include "../../SDL_android.h" | 35 #include "../../core/android/SDL_android.h" |
36 | 36 |
37 static const char *accelerometerName = "Android accelerometer"; | 37 static const char *accelerometerName = "Android accelerometer"; |
38 | 38 |
39 /* Function to scan the system for joysticks. | 39 /* Function to scan the system for joysticks. |
40 * This function should set SDL_numjoysticks to the number of available | 40 * This function should set SDL_numjoysticks to the number of available |