aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools.h b/src/tools.h
index b48114c..e984ec2 100644
--- a/src/tools.h
+++ b/src/tools.h
@@ -35,7 +35,9 @@ void luaL_requiref (lua_State* L, const char* modname, lua_CFunction openf, int
35#ifndef lua_equal // already defined when compatibility is active in luaconf.h 35#ifndef lua_equal // already defined when compatibility is active in luaconf.h
36#define lua_equal( L, a, b) lua_compare( L, a, b, LUA_OPEQ) 36#define lua_equal( L, a, b) lua_compare( L, a, b, LUA_OPEQ)
37#endif // lua_equal 37#endif // lua_equal
38#ifndef lua_lessthan // already defined when compatibility is active in luaconf.h
38#define lua_lessthan( L, a, b) lua_compare( L, a, b, LUA_OPLT) 39#define lua_lessthan( L, a, b) lua_compare( L, a, b, LUA_OPLT)
40#endif // lua_lessthan
39#define luaG_registerlibfuncs( L, _funcs) luaL_setfuncs( L, _funcs, 0) 41#define luaG_registerlibfuncs( L, _funcs) luaL_setfuncs( L, _funcs, 0)
40#endif // LUA_VERSION_NUM == 502 42#endif // LUA_VERSION_NUM == 502
41 43