Fix detection of iOS for disabling dynamic API.
This commit is contained in:
parent
e83b3337a8
commit
e1cd175738
1 changed files with 5 additions and 1 deletions
|
@ -39,7 +39,11 @@
|
|||
#error Nope, you have to edit this file to force this off.
|
||||
#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
|
||||
#else /* everyone else. */
|
||||
#define SDL_DYNAMIC_API 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue