From f6ff87788a91d85209ee54f998c4086015f0c070 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Wed, 12 Oct 2022 13:55:14 +0200 Subject: [PATCH] Android default to dynamic API disabled (see #6381) --- src/dynapi/SDL_dynapi.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dynapi/SDL_dynapi.h b/src/dynapi/SDL_dynapi.h index e3268697c..69c68de65 100644 --- a/src/dynapi/SDL_dynapi.h +++ b/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. */