aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lauxlib.h b/lauxlib.h
index 4be008b9..d8522098 100644
--- a/lauxlib.h
+++ b/lauxlib.h
@@ -165,7 +165,11 @@ LUALIB_API void (luaL_requiref) (lua_State *L, const char *modname,
165 165
166 166
167/* push the value used to represent failure/error */ 167/* push the value used to represent failure/error */
168#if defined(LUA_FAILISFALSE)
169#define luaL_pushfail(L) lua_pushboolean(L, 0)
170#else
168#define luaL_pushfail(L) lua_pushnil(L) 171#define luaL_pushfail(L) lua_pushnil(L)
172#endif
169 173
170 174
171 175