comparison src/joystick/windows/SDL_mmjoystick.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 e8916fe9cfc8
children b530ef003506
comparison
equal deleted inserted replaced
5091:79bd1e289005 5092:327f181542f1
23 23
24 #ifdef SDL_JOYSTICK_WINMM 24 #ifdef SDL_JOYSTICK_WINMM
25 25
26 /* Win32 MultiMedia Joystick driver, contributed by Andrei de A. Formiga */ 26 /* Win32 MultiMedia Joystick driver, contributed by Andrei de A. Formiga */
27 27
28 #define WIN32_LEAN_AND_MEAN 28 #include "../../core/windows/SDL_windows.h"
29 #include <windows.h>
30 #include <mmsystem.h> 29 #include <mmsystem.h>
31 #include <regstr.h> 30 #include <regstr.h>
32 31
33 #include "SDL_events.h" 32 #include "SDL_events.h"
34 #include "SDL_joystick.h" 33 #include "SDL_joystick.h"