iOS: Disable os.execute() when building for iOS >= 8.0.

Thanks to Vyacheslav Egorov.
This commit is contained in:
Mike Pall
2015-10-24 19:02:15 +02:00
parent 7579b161af
commit 3639ff4142
2 changed files with 4 additions and 1 deletions

View File

@@ -36,7 +36,7 @@
LJLIB_CF(os_execute)
{
#if LJ_TARGET_CONSOLE
#if LJ_NO_SYSTEM
#if LJ_52
errno = ENOSYS;
return luaL_fileresult(L, 0, NULL);