src/atomic/SDL_atomic.c
changeset 7860 2b0bcdea3a79
parent 7394 38dc4961ab15
child 8088 e5d77d5e0fe2
     1.1 --- a/src/atomic/SDL_atomic.c	Sun Oct 20 21:34:38 2013 -0700
     1.2 +++ b/src/atomic/SDL_atomic.c	Sun Oct 20 21:56:15 2013 -0700
     1.3 @@ -55,7 +55,7 @@
     1.4  
     1.5  static SDL_SpinLock locks[32];
     1.6  
     1.7 -static __inline__ void
     1.8 +static SDL_INLINE void
     1.9  enterLock(void *a)
    1.10  {
    1.11      uintptr_t index = ((((uintptr_t)a) >> 3) & 0x1f);
    1.12 @@ -63,7 +63,7 @@
    1.13      SDL_AtomicLock(&locks[index]);
    1.14  }
    1.15  
    1.16 -static __inline__ void
    1.17 +static SDL_INLINE void
    1.18  leaveLock(void *a)
    1.19  {
    1.20      uintptr_t index = ((((uintptr_t)a) >> 3) & 0x1f);