src/atomic/SDL_atomic.c
changeset 8096 132b47684fbf
parent 8093 b43765095a6f
child 8149 681eb46b8ac4
--- a/src/atomic/SDL_atomic.c	Wed Jan 08 00:31:19 2014 -0500
+++ b/src/atomic/SDL_atomic.c	Wed Jan 08 00:40:48 2014 -0500
@@ -204,6 +204,7 @@
 }
 
 #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 @@
 "   bx lr\n"
 );
 #endif
+#endif
 
 /* vi: set ts=4 sw=4 expandtab: */