src/atomic/SDL_atomic.c
changeset 7860 2b0bcdea3a79
parent 7394 38dc4961ab15
child 8088 e5d77d5e0fe2
--- a/src/atomic/SDL_atomic.c	Sun Oct 20 21:34:38 2013 -0700
+++ b/src/atomic/SDL_atomic.c	Sun Oct 20 21:56:15 2013 -0700
@@ -55,7 +55,7 @@
 
 static SDL_SpinLock locks[32];
 
-static __inline__ void
+static SDL_INLINE void
 enterLock(void *a)
 {
     uintptr_t index = ((((uintptr_t)a) >> 3) & 0x1f);
@@ -63,7 +63,7 @@
     SDL_AtomicLock(&locks[index]);
 }
 
-static __inline__ void
+static SDL_INLINE void
 leaveLock(void *a)
 {
     uintptr_t index = ((((uintptr_t)a) >> 3) & 0x1f);