SDL_windows.h is no longer necessary

This commit is contained in:
Sam Lantinga
2006-02-25 22:18:25 +00:00
parent bf2d3bdc27
commit 2861771aa5
27 changed files with 59 additions and 68 deletions

View File

@@ -23,7 +23,8 @@
/* Mutex functions using the Win32 API */
#include "SDL_windows.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "SDL_mutex.h"

View File

@@ -23,7 +23,8 @@
/* Semaphore functions using the Win32 API */
#include "SDL_windows.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "SDL_thread.h"
#if defined(_WIN32_WCE) && (_WIN32_WCE < 300)

View File

@@ -23,7 +23,8 @@
/* Win32 thread management routines for SDL */
#include "SDL_windows.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "SDL_thread.h"
#include "../SDL_thread_c.h"

View File

@@ -21,7 +21,8 @@
*/
#include "SDL_config.h"
#include "SDL_windows.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
typedef HANDLE SYS_ThreadHandle;

View File

@@ -28,7 +28,9 @@
and it is not clear how to handle a mixture of WCE semaphores and normal
events and mutexes. */
#include "SDL_windows.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "win_ce_semaphore.h"
static SYNCHHANDLE CleanUp (SYNCHHANDLE hSynch, DWORD Flags);