mirror of https://github.com/encounter/SDL.git
atomic: Support compiling on ARMv3
This commit is contained in:
parent
20ddf45ede
commit
85aabec27e
|
@ -79,7 +79,8 @@ SDL_AtomicTryLock(SDL_SpinLock *lock)
|
|||
return (__sync_lock_test_and_set(lock, 1) == 0);
|
||||
|
||||
#elif defined(__GNUC__) && defined(__arm__) && \
|
||||
(defined(__ARM_ARCH_4__) || defined(__ARM_ARCH_4T__) || \
|
||||
(defined(__ARM_ARCH_3__) || defined(__ARM_ARCH_3M__) || \
|
||||
defined(__ARM_ARCH_4__) || defined(__ARM_ARCH_4T__) || \
|
||||
defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5TE__) || \
|
||||
defined(__ARM_ARCH_5TEJ__))
|
||||
int result;
|
||||
|
|
Loading…
Reference in New Issue