Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
atomic: Support compiling on ARMv3
  • Loading branch information
ccawley2011 committed Oct 11, 2019
1 parent 20ddf45 commit 85aabec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/atomic/SDL_spinlock.c
Expand Up @@ -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;
Expand Down

0 comments on commit 85aabec

Please sign in to comment.