diff src/atomic/win32/SDL_atomic.c @ 3552:3889325ca987

Fixed windows.h include
author Sam Lantinga <slouken@libsdl.org>
date Sun, 13 Dec 2009 05:37:06 +0000
parents 0e000afe3dc0
children f7b03b6838cb
line wrap: on
line diff
--- 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