src/atomic/SDL_spinlock.c
changeset 5073 1e94e68525d5
parent 5071 55ff76cdbbb8
child 5086 c2539ff054c8
     1.1 --- a/src/atomic/SDL_spinlock.c	Sat Jan 22 03:57:27 2011 -0500
     1.2 +++ b/src/atomic/SDL_spinlock.c	Fri Jan 21 23:46:51 2011 -0800
     1.3 @@ -24,6 +24,10 @@
     1.4  #include "SDL_atomic.h"
     1.5  #include "SDL_timer.h"
     1.6  
     1.7 +/* Don't do the check for Visual Studio 2005, it's safe here */
     1.8 +#if defined(_MSC_VER)
     1.9 +#include <intrin.h>
    1.10 +#endif
    1.11  
    1.12  /* This function is where all the magic happens... */
    1.13  SDL_bool