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