Fixed windows.h include
authorSam Lantinga <slouken@libsdl.org>
Sun, 13 Dec 2009 05:37:06 +0000
changeset 3552 3889325ca987
parent 3551 4a39f28cd935
child 3553 a579694613fd
Fixed windows.h include
src/atomic/win32/SDL_atomic.c
--- a/src/atomic/win32/SDL_atomic.c	Sat Dec 12 20:31:28 2009 +0000
+++ b/src/atomic/win32/SDL_atomic.c	Sun Dec 13 05:37:06 2009 +0000
@@ -25,8 +25,10 @@
 #include "SDL_stdinc.h"
 #include "SDL_atomic.h"
 
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+
 #include "SDL_error.h"
-#include "Windows.h"
 
 /*
   This file provides 32, and 64 bit atomic operations. If the