From afd0f323148fe2d4348d020269f0458d5c4c5bd4 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 8 Jan 2014 00:40:48 -0500 Subject: [PATCH] Patched to compile on Android (I think). --- src/atomic/SDL_atomic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/atomic/SDL_atomic.c b/src/atomic/SDL_atomic.c index dce2c104f..8be9a474e 100644 --- a/src/atomic/SDL_atomic.c +++ b/src/atomic/SDL_atomic.c @@ -204,6 +204,7 @@ SDL_AtomicGetPtr(void **a) } #ifdef __thumb__ +#if defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6T2__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) __asm__( " .align 2\n" " .globl _SDL_MemoryBarrierRelease\n" @@ -215,5 +216,6 @@ __asm__( " bx lr\n" ); #endif +#endif /* vi: set ts=4 sw=4 expandtab: */