Improve support for private platforms (#11220)

This commit is contained in:
Caleb Cornett 2024-10-15 18:02:07 -04:00 committed by GitHub
parent 66d09a1cda
commit 9af5ffcfbe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 70 additions and 18 deletions

View file

@ -43,7 +43,9 @@
#include "TargetConditionals.h"
#endif
#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE // probably not useful on iOS.
#if defined(SDL_PLATFORM_PRIVATE) // probably not useful on private platforms.
#define SDL_DYNAMIC_API 0
#elif defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE // probably not useful on iOS.
#define SDL_DYNAMIC_API 0
#elif defined(SDL_PLATFORM_ANDROID) // probably not useful on Android.
#define SDL_DYNAMIC_API 0