include/SDL_atomic.h
changeset 5225 5d01d426f2ea
parent 5136 1a47d41912ff
child 5262 b530ef003506
     1.1 --- a/include/SDL_atomic.h	Mon Feb 07 20:06:26 2011 -0800
     1.2 +++ b/include/SDL_atomic.h	Mon Feb 07 22:57:33 2011 -0800
     1.3 @@ -141,6 +141,9 @@
     1.4  /* Platform specific optimized versions of the atomic functions,
     1.5   * you can disable these by defining SDL_DISABLE_ATOMIC_INLINE
     1.6   */
     1.7 +#if SDL_ATOMIC_DISABLED
     1.8 +#define SDL_DISABLE_ATOMIC_INLINE
     1.9 +#endif
    1.10  #ifndef SDL_DISABLE_ATOMIC_INLINE
    1.11  
    1.12  #ifdef HAVE_MSC_ATOMICS