aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools.h b/src/tools.h
index 10711d4..2fe7259 100644
--- a/src/tools.h
+++ b/src/tools.h
@@ -33,6 +33,7 @@ void luaL_requiref (lua_State* L, const char* modname, lua_CFunction openf, int
33// wrap Lua 5.2 calls under Lua 5.1 API when it is simpler that way 33// wrap Lua 5.2 calls under Lua 5.1 API when it is simpler that way
34#if LUA_VERSION_NUM == 502 34#if LUA_VERSION_NUM == 502
35#define lua_equal( L, a, b) lua_compare( L, a, b, LUA_OPEQ) 35#define lua_equal( L, a, b) lua_compare( L, a, b, LUA_OPEQ)
36#define lua_lessthan( L, a, b) lua_compare( L, a, b, LUA_OPLT)
36#define luaG_registerlibfuncs( L, _funcs) luaL_setfuncs( L, _funcs, 0) 37#define luaG_registerlibfuncs( L, _funcs) luaL_setfuncs( L, _funcs, 0)
37#endif // LUA_VERSION_NUM == 502 38#endif // LUA_VERSION_NUM == 502
38 39