mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 07:34:07 +00:00
iOS: Disable os.execute() when building for iOS >= 8.0.
Thanks to Vyacheslav Egorov.
This commit is contained in:
parent
7579b161af
commit
3639ff4142
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
LJLIB_CF(os_execute)
|
LJLIB_CF(os_execute)
|
||||||
{
|
{
|
||||||
#if LJ_TARGET_CONSOLE
|
#if LJ_NO_SYSTEM
|
||||||
#if LJ_52
|
#if LJ_52
|
||||||
errno = ENOSYS;
|
errno = ENOSYS;
|
||||||
return luaL_fileresult(L, 0, NULL);
|
return luaL_fileresult(L, 0, NULL);
|
||||||
|
@ -426,6 +426,9 @@
|
|||||||
#if defined(__symbian__)
|
#if defined(__symbian__)
|
||||||
#define LUAJIT_NO_EXP2
|
#define LUAJIT_NO_EXP2
|
||||||
#endif
|
#endif
|
||||||
|
#if LJ_TARGET_CONSOLE || (LJ_TARGET_IOS && __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_8_0)
|
||||||
|
#define LJ_NO_SYSTEM 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(LUAJIT_NO_UNWIND) || defined(__symbian__) || LJ_TARGET_IOS || LJ_TARGET_PS3 || LJ_TARGET_PS4
|
#if defined(LUAJIT_NO_UNWIND) || defined(__symbian__) || LJ_TARGET_IOS || LJ_TARGET_PS3 || LJ_TARGET_PS4
|
||||||
#define LJ_NO_UNWIND 1
|
#define LJ_NO_UNWIND 1
|
||||||
|
Loading…
Reference in New Issue
Block a user