diff options
Diffstat (limited to 'src/compat.h')
-rw-r--r-- | src/compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h index 46c31cf..8ef1b6c 100644 --- a/src/compat.h +++ b/src/compat.h | |||
@@ -95,5 +95,6 @@ int lua_setiuservalue( lua_State* L, int idx, int n); | |||
95 | #define luaG_registerlibfuncs( L, _funcs) luaL_setfuncs( L, _funcs, 0) | 95 | #define luaG_registerlibfuncs( L, _funcs) luaL_setfuncs( L, _funcs, 0) |
96 | #define lua504_dump lua_dump | 96 | #define lua504_dump lua_dump |
97 | #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d))) | 97 | #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d))) |
98 | #define LUA_ERRGCMM 666 // doesn't exist in Lua 5.4, we don't care about the actual value | ||
98 | 99 | ||
99 | #endif // LUA_VERSION_NUM == 504 | 100 | #endif // LUA_VERSION_NUM == 504 |