support lua 5.2.x

This commit is contained in:
ruki
2018-12-01 00:55:21 +08:00
parent 4cefcd811a
commit dcdb827bfb

View File

@@ -65,6 +65,7 @@ Notes:
#ifndef LUAJIT #ifndef LUAJIT
# define LUA_COMPAT_5_1 # define LUA_COMPAT_5_1
# define LUA_COMPAT_ALL
#endif #endif
#include "luaconf.h" #include "luaconf.h"
#undef LUA_API #undef LUA_API