Navigation Menu

Skip to content

Commit

Permalink
atomic: Patched to compile on Android.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 13, 2017
1 parent 1c9c763 commit 1d1a0d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/atomic/SDL_atomic.c
Expand Up @@ -39,7 +39,11 @@
#if defined(HAVE_GCC_ATOMICS)
# if defined(__clang__)
# if __has_builtin(__atomic_load_n)
# define HAVE_ATOMIC_LOAD_N 1
/* !!! FIXME: this advertises as available in the NDK but uses an external symbol we don't have.
It might be in a later NDK or we might need an extra library? --ryan. */
# if !defined(__ANDROID__)
# define HAVE_ATOMIC_LOAD_N 1
# endif
# endif
# elif defined(__GNUC__)
# if (__GNUC__ >= 5)
Expand Down

0 comments on commit 1d1a0d7

Please sign in to comment.