diff options
author | Sam Lantinga <slouken@libsdl.org> | 2011-01-24 15:46:11 -0800 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2011-01-24 15:46:11 -0800 |
commit | 10b8372bd3fe705b6199aa4564001a10b60d8329 (patch) | |
tree | b064afc1faa278089d712108213d968c2c570e8f /src/thread/windows | |
parent | b33881a48e8735a75b2b531911355d2c9ea5019f (diff) |
Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
Diffstat (limited to 'src/thread/windows')
-rw-r--r-- | src/thread/windows/SDL_syssem.c | 2 | ||||
-rw-r--r-- | src/thread/windows/SDL_systhread.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/thread/windows/SDL_syssem.c b/src/thread/windows/SDL_syssem.c index 4fcb8c6e..9673ee89 100644 --- a/src/thread/windows/SDL_syssem.c +++ b/src/thread/windows/SDL_syssem.c @@ -39,7 +39,7 @@ struct SDL_semaphore #else HANDLE id; #endif - LONG volatile count; + LONG count; }; diff --git a/src/thread/windows/SDL_systhread.c b/src/thread/windows/SDL_systhread.c index 71313c3b..5a00e972 100644 --- a/src/thread/windows/SDL_systhread.c +++ b/src/thread/windows/SDL_systhread.c @@ -23,12 +23,10 @@ /* Win32 thread management routines for SDL */ -#define WIN32_LEAN_AND_MEAN -#include <windows.h> - #include "SDL_thread.h" #include "../SDL_thread_c.h" #include "../SDL_systhread.h" +#include "SDL_systhread_c.h" #ifndef SDL_PASSED_BEGINTHREAD_ENDTHREAD #ifndef _WIN32_WCE |