OSX/iOS: Fix SDK incompatibility.

Thanks to Ryan Carsten Schmidt. #1189
This commit is contained in:
Mike Pall 2024-04-22 10:06:42 +02:00
parent b3e4987389
commit 5790d25397

View File

@ -124,7 +124,7 @@
#define LJ_TARGET_POSIX (LUAJIT_OS > LUAJIT_OS_WINDOWS)
#define LJ_TARGET_DLOPEN LJ_TARGET_POSIX
#if TARGET_OS_IPHONE
#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
#define LJ_TARGET_IOS 1
#else
#define LJ_TARGET_IOS 0