Mercurial > sdl-ios-xcode
changeset 5093:2164a79b5ca9
Only include windows.h on Windows. :)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 24 Jan 2011 21:22:00 -0800 |
parents | 327f181542f1 |
children | ed1d54f1290a |
files | src/atomic/SDL_spinlock.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/atomic/SDL_spinlock.c Mon Jan 24 21:20:30 2011 -0800 +++ b/src/atomic/SDL_spinlock.c Mon Jan 24 21:22:00 2011 -0800 @@ -25,7 +25,9 @@ #include "SDL_timer.h" /* Don't do the check for Visual Studio 2005, it's safe here */ +#ifdef __WIN32__ #include "../core/windows/SDL_windows.h" +#endif /* This function is where all the magic happens... */ SDL_bool