Skip to content

Commit

Permalink
Patched to compile on Android (I think).
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 8, 2014
1 parent d5c977a commit afd0f32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/atomic/SDL_atomic.c
Expand Up @@ -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"
Expand All @@ -215,5 +216,6 @@ __asm__(
" bx lr\n"
);
#endif
#endif

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit afd0f32

Please sign in to comment.