diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-11 15:14:52 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-11 15:14:52 +0200 |
commit | adaa36dbec1ce9aaafd61873b9d3d898a8c240cf (patch) | |
tree | 4c81e8f5983c3d696a636e2cc433ce7c0a9c3dd8 /src/compat.h | |
parent | 1d310e6ecb6e156598337612f16573d9cd284f5e (diff) | |
download | lanes-adaa36dbec1ce9aaafd61873b9d3d898a8c240cf.tar.gz lanes-adaa36dbec1ce9aaafd61873b9d3d898a8c240cf.tar.bz2 lanes-adaa36dbec1ce9aaafd61873b9d3d898a8c240cf.zip |
Bring all interesting fixes from the C++ implementation back into the C implementation
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 | ||