Patched to compile on Android (I think).
authorRyan C. Gordon <icculus@icculus.org>
Wed, 08 Jan 2014 00:40:48 -0500
changeset 8096 132b47684fbf
parent 8095 15b248f1e5a0
child 8097 d4e916b1c135
Patched to compile on Android (I think).
src/atomic/SDL_atomic.c
--- 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: */