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