summaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
authorMike Pall <mike>2015-10-24 19:02:15 +0200
committerMike Pall <mike>2015-10-24 19:02:15 +0200
commit3639ff41420610969f44eceebac11253ff7c8025 (patch)
treeac661b36f4e6444c7bce5c5eff492b3482859d48 /src/lj_arch.h
parent7579b161af49b379f3ac071d309bcde69aba7810 (diff)
downloadluajit-3639ff41420610969f44eceebac11253ff7c8025.tar.gz
luajit-3639ff41420610969f44eceebac11253ff7c8025.tar.bz2
luajit-3639ff41420610969f44eceebac11253ff7c8025.zip
iOS: Disable os.execute() when building for iOS >= 8.0.
Thanks to Vyacheslav Egorov.
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r--src/lj_arch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 9a6d4305..f1a1160f 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -426,6 +426,9 @@
426#if defined(__symbian__) 426#if defined(__symbian__)
427#define LUAJIT_NO_EXP2 427#define LUAJIT_NO_EXP2
428#endif 428#endif
429#if LJ_TARGET_CONSOLE || (LJ_TARGET_IOS && __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_8_0)
430#define LJ_NO_SYSTEM 1
431#endif
429 432
430#if defined(LUAJIT_NO_UNWIND) || defined(__symbian__) || LJ_TARGET_IOS || LJ_TARGET_PS3 || LJ_TARGET_PS4 433#if defined(LUAJIT_NO_UNWIND) || defined(__symbian__) || LJ_TARGET_IOS || LJ_TARGET_PS3 || LJ_TARGET_PS4
431#define LJ_NO_UNWIND 1 434#define LJ_NO_UNWIND 1