mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-18 16:21:12 +00:00
Fix detection of iOS for disabling dynamic API.
This commit is contained in:
@@ -39,7 +39,11 @@
|
|||||||
#error Nope, you have to edit this file to force this off.
|
#error Nope, you have to edit this file to force this off.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__) && TARGET_OS_IPHONE /* probably not useful on iOS. */
|
#ifdef __APPLE__
|
||||||
|
#include "TargetConditionals.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if TARGET_OS_IPHONE /* probably not useful on iOS. */
|
||||||
#define SDL_DYNAMIC_API 0
|
#define SDL_DYNAMIC_API 0
|
||||||
#else /* everyone else. */
|
#else /* everyone else. */
|
||||||
#define SDL_DYNAMIC_API 1
|
#define SDL_DYNAMIC_API 1
|
||||||
|
|||||||
Reference in New Issue
Block a user