comparison src/thread/win32/win_ce_semaphore.c @ 1433:bb6839704ed6

SDL_windows.h is no longer necessary
author Sam Lantinga <slouken@libsdl.org>
date Sat, 25 Feb 2006 22:18:25 +0000
parents 450721ad5436
children 782fd950bd46 c121d94672cb
comparison
equal deleted inserted replaced
1432:0801c9fdbdd6 1433:bb6839704ed6
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 #include "SDL_windows.h" 31 #define WIN32_LEAN_AND_MEAN
32 #include <windows.h>
33
32 #include "win_ce_semaphore.h" 34 #include "win_ce_semaphore.h"
33 35
34 static SYNCHHANDLE CleanUp (SYNCHHANDLE hSynch, DWORD Flags); 36 static SYNCHHANDLE CleanUp (SYNCHHANDLE hSynch, DWORD Flags);
35 37
36 SYNCHHANDLE CreateSemaphoreCE ( 38 SYNCHHANDLE CreateSemaphoreCE (