atomic: Support compiling on ARMv3
This commit is contained in:
parent
935a136364
commit
b7e16c20c8
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue