include/SDL_atomic.h
changeset 5552 2167a41feefe
parent 5535 96594ac5fd1a
child 6138 4c64952a58fb
     1.1 --- a/include/SDL_atomic.h	Sat Jun 04 15:26:02 2011 -0400
     1.2 +++ b/include/SDL_atomic.h	Mon Jun 06 12:20:04 2011 -0400
     1.3 @@ -140,7 +140,7 @@
     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 +#if defined(SDL_ATOMIC_DISABLED) && SDL_ATOMIC_DISABLED
     1.9  #define SDL_DISABLE_ATOMIC_INLINE
    1.10  #endif
    1.11  #ifndef SDL_DISABLE_ATOMIC_INLINE