src/atomic/SDL_spinlock.c
changeset 5289 1916a9e9714d
parent 5262 b530ef003506
child 5328 f34a5f9ce9f6
     1.1 --- a/src/atomic/SDL_spinlock.c	Sun Feb 13 13:46:10 2011 -0800
     1.2 +++ b/src/atomic/SDL_spinlock.c	Sun Feb 13 14:01:02 2011 -0800
     1.3 @@ -62,7 +62,7 @@
     1.4  #elif HAVE_GCC_ATOMICS || HAVE_GCC_SYNC_LOCK_TEST_AND_SET
     1.5      return (__sync_lock_test_and_set(lock, 1) == 0);
     1.6  
     1.7 -#elif defined(__GNUC__) && defined(__arm__) && defined(__ARM_ARCH_5__)
     1.8 +#elif defined(__GNUC__) && defined(__arm__) && (defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5TE__))
     1.9      int result;
    1.10      __asm__ __volatile__ (
    1.11          "swp %0, %1, [%2]\n"