src/atomic/SDL_spinlock.c
changeset 5086 c2539ff054c8
parent 5073 1e94e68525d5
child 5090 327f181542f1
     1.1 --- a/src/atomic/SDL_spinlock.c	Mon Jan 24 15:10:16 2011 -0800
     1.2 +++ b/src/atomic/SDL_spinlock.c	Mon Jan 24 15:46:11 2011 -0800
     1.3 @@ -26,8 +26,13 @@
     1.4  
     1.5  /* Don't do the check for Visual Studio 2005, it's safe here */
     1.6  #if defined(_MSC_VER)
     1.7 +#ifdef _WIN32_WCE
     1.8 +#define WIN32_LEAN_AND_MEAN
     1.9 +#include <windows.h>
    1.10 +#else
    1.11  #include <intrin.h>
    1.12  #endif
    1.13 +#endif /* _MSC_VER */
    1.14  
    1.15  /* This function is where all the magic happens... */
    1.16  SDL_bool