mirror of
https://github.com/yawut/SDL.git
synced 2026-09-07 16:45:57 -05:00
SDL_windows.h is no longer necessary
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#include "SDL_windows.h"
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
typedef HANDLE SYS_ThreadHandle;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user