diff --git a/src/atomic/SDL_spinlock.c b/src/atomic/SDL_spinlock.c index b28b696ae..25fdca27a 100644 --- a/src/atomic/SDL_spinlock.c +++ b/src/atomic/SDL_spinlock.c @@ -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