Selaa lähdekoodia

atomic: Use __atomic_load_n on Android

Cameron Gutman 1 kuukausi sitten
vanhempi
commit
59267ed800
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0 4
      src/atomic/SDL_atomic.c

+ 0 - 4
src/atomic/SDL_atomic.c

@@ -37,12 +37,8 @@
 #if defined(__GNUC__) && (__GNUC__ >= 5)
 #define HAVE_ATOMIC_LOAD_N 1
 #elif SDL_HAS_BUILTIN(__atomic_load_n) || (defined(__clang__) && defined(HAVE_GCC_ATOMICS))
-/* !!! 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. */
-#ifndef SDL_PLATFORM_ANDROID
 #define HAVE_ATOMIC_LOAD_N 1
 #endif
-#endif
 
 /*
   If any of the operations are not provided then we must emulate some