mirror of https://github.com/encounter/SDL.git
Patched to compile on Android (I think).
This commit is contained in:
parent
d5c977adb7
commit
afd0f32314
|
@ -204,6 +204,7 @@ SDL_AtomicGetPtr(void **a)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __thumb__
|
#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__(
|
__asm__(
|
||||||
" .align 2\n"
|
" .align 2\n"
|
||||||
" .globl _SDL_MemoryBarrierRelease\n"
|
" .globl _SDL_MemoryBarrierRelease\n"
|
||||||
|
@ -215,5 +216,6 @@ __asm__(
|
||||||
" bx lr\n"
|
" bx lr\n"
|
||||||
);
|
);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* vi: set ts=4 sw=4 expandtab: */
|
/* vi: set ts=4 sw=4 expandtab: */
|
||||||
|
|
Loading…
Reference in New Issue