Browse Source

Set compiler define to indicate iOS does not have system() function.

Yao Wei Tjong 姚伟忠 8 years ago
parent
commit
8fe15fab49
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/ThirdParty/LuaJIT/src/lj_arch.h

+ 2 - 2
Source/ThirdParty/LuaJIT/src/lj_arch.h

@@ -519,8 +519,8 @@
 #if defined(__symbian__) || LJ_TARGET_WINDOWS
 #if defined(__symbian__) || LJ_TARGET_WINDOWS
 #define LUAJIT_NO_EXP2
 #define LUAJIT_NO_EXP2
 #endif
 #endif
-// Urho3D - tvOS port, system is not available for tvOS and also its simulator
-#if LJ_TARGET_CONSOLE || (LJ_TARGET_IOS && __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_8_0) || __TV_OS_VERSION_MIN_REQUIRED
+// Urho3D - system is not available for iOS/tvOS and also its simulator
+#if LJ_TARGET_CONSOLE || __IPHONE_OS_VERSION_MIN_REQUIRED || __TV_OS_VERSION_MIN_REQUIRED
 #define LJ_NO_SYSTEM		1
 #define LJ_NO_SYSTEM		1
 #endif
 #endif