Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Only include windows.h on Windows. :)
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 25, 2011
1 parent 6b41c2c commit 2ae3eba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/atomic/SDL_spinlock.c
Expand Up @@ -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
Expand Down

0 comments on commit 2ae3eba

Please sign in to comment.