comparison src/thread/windows/win_ce_semaphore.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
comparison
equal deleted inserted replaced
5091:79bd1e289005 5092:327f181542f1
26 6. The wait function emulates WaitForSingleObject only. An emulation of 26 6. The wait function emulates WaitForSingleObject only. An emulation of
27 WaitForMultipleObjects is much harder to implement outside the kernel, 27 WaitForMultipleObjects is much harder to implement outside the kernel,
28 and it is not clear how to handle a mixture of WCE semaphores and normal 28 and it is not clear how to handle a mixture of WCE semaphores and normal
29 events and mutexes. */ 29 events and mutexes. */
30 30
31 #define WIN32_LEAN_AND_MEAN 31 #include "../../core/windows/SDL_windows.h"
32 #include <windows.h>
33 32
34 #include "win_ce_semaphore.h" 33 #include "win_ce_semaphore.h"
35 34
36 static SYNCHHANDLE CleanUp(SYNCHHANDLE hSynch, DWORD Flags); 35 static SYNCHHANDLE CleanUp(SYNCHHANDLE hSynch, DWORD Flags);
37 36