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 e44f827..fbcbee1 100644 --- a/src/compat.h +++ b/src/compat.h | |||
@@ -90,6 +90,7 @@ int lua_setiuservalue( lua_State* L, int idx, int n); | |||
90 | #define luaG_registerlibfuncs( L, _funcs) luaL_setfuncs( L, _funcs, 0) | 90 | #define luaG_registerlibfuncs( L, _funcs) luaL_setfuncs( L, _funcs, 0) |
91 | #define lua504_dump lua_dump | 91 | #define lua504_dump lua_dump |
92 | #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d))) | 92 | #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d))) |
93 | #define LUA_ERRGCMM 666 // doesn't exist in Lua 5.4, we don't care about the actual value | ||
93 | 94 | ||
94 | #endif // LUA_VERSION_NUM == 504 | 95 | #endif // LUA_VERSION_NUM == 504 |
95 | 96 | ||