include/SDL_atomic.h
changeset 5024 38638d228a22
parent 5016 cc879bc6c4cf
child 5073 1e94e68525d5
     1.1 --- a/include/SDL_atomic.h	Tue Jan 18 15:02:59 2011 -0800
     1.2 +++ b/include/SDL_atomic.h	Tue Jan 18 15:07:53 2011 -0800
     1.3 @@ -112,7 +112,7 @@
     1.4   */
     1.5  #ifndef SDL_DISABLE_ATOMIC_INLINE
     1.6  
     1.7 -#if defined(__WIN32__)
     1.8 +#if defined(_MSC_VER)
     1.9  #include <intrin.h>
    1.10  
    1.11  #define SDL_AtomicSet(a, v)     _InterlockedExchange((long*)&(a)->value, (v))