include/SDL_atomic.h
changeset 5552 2167a41feefe
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
equal deleted inserted replaced
5548:8f0abb6ef37d 5552:2167a41feefe
   138 #endif
   138 #endif
   139 
   139 
   140 /* Platform specific optimized versions of the atomic functions,
   140 /* Platform specific optimized versions of the atomic functions,
   141  * you can disable these by defining SDL_DISABLE_ATOMIC_INLINE
   141  * you can disable these by defining SDL_DISABLE_ATOMIC_INLINE
   142  */
   142  */
   143 #if SDL_ATOMIC_DISABLED
   143 #if defined(SDL_ATOMIC_DISABLED) && SDL_ATOMIC_DISABLED
   144 #define SDL_DISABLE_ATOMIC_INLINE
   144 #define SDL_DISABLE_ATOMIC_INLINE
   145 #endif
   145 #endif
   146 #ifndef SDL_DISABLE_ATOMIC_INLINE
   146 #ifndef SDL_DISABLE_ATOMIC_INLINE
   147 
   147 
   148 #ifdef HAVE_MSC_ATOMICS
   148 #ifdef HAVE_MSC_ATOMICS