Browse Source

Android default to dynamic API disabled (see #6381)

Sylvain 2 years ago
parent
commit
f6ff87788a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/dynapi/SDL_dynapi.h

+ 2 - 0
src/dynapi/SDL_dynapi.h

@@ -45,6 +45,8 @@
 
 #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE  /* probably not useful on iOS. */
 #define SDL_DYNAMIC_API 0
+#if defined(__ANDROID__) /* probably not useful on Android. */
+#define SDL_DYNAMIC_API 0
 #elif defined(__native_client__) && __native_client__  /* probably not useful on NACL. */
 #define SDL_DYNAMIC_API 0
 #elif defined(__EMSCRIPTEN__) && __EMSCRIPTEN__  /* probably not useful on Emscripten. */