lua-hooks/ext/luajit/src/lib_os.c in immunio-1.1.2 vs lua-hooks/ext/luajit/src/lib_os.c in immunio-1.1.5
- old
+ new
@@ -1,8 +1,8 @@
/*
** OS library.
-** Copyright (C) 2005-2015 Mike Pall. See Copyright Notice in luajit.h
+** Copyright (C) 2005-2016 Mike Pall. See Copyright Notice in luajit.h
**
** Major portions taken verbatim or adapted from the Lua interpreter.
** Copyright (C) 1994-2008 Lua.org, PUC-Rio. See Copyright Notice in lua.h
*/
@@ -37,10 +37,10 @@
#define LJLIB_MODULE_os
LJLIB_CF(os_execute)
{
-#if LJ_TARGET_CONSOLE
+#if LJ_NO_SYSTEM
#if LJ_52
errno = ENOSYS;
return luaL_fileresult(L, 0, NULL);
#else
lua_pushinteger(L, -1);