diff options
Diffstat (limited to 'core/src/lua')
| -rw-r--r-- | core/src/lua/makefile | 3 | ||||
| -rw-r--r-- | core/src/lua/xmake.lua | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/core/src/lua/makefile b/core/src/lua/makefile index 8a9639947..9db0fa518 100644 --- a/core/src/lua/makefile +++ b/core/src/lua/makefile @@ -37,7 +37,6 @@ lua_C_FILES += \ lua/lcorolib \ lua/lcode \ lua/ltablib \ - lua/lbitlib \ lua/lapi \ lua/lbaselib \ lua/ldebug \ @@ -62,7 +61,7 @@ ifeq ($(PLAT),cygwin) iswin = yes endif -lua_CFLAGS := -std=c99 -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 +lua_CFLAGS := -std=c99 -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_3 ifdef iswin lua_CFLAGS_PLAT := -DLUA_USE_WINDOWS endif diff --git a/core/src/lua/xmake.lua b/core/src/lua/xmake.lua index 4f209b693..9a622a2e9 100644 --- a/core/src/lua/xmake.lua +++ b/core/src/lua/xmake.lua @@ -20,7 +20,7 @@ target("lua") add_files("lua/*.c|lua.c") -- add defines - add_defines("LUA_COMPAT_5_1", "LUA_COMPAT_5_2", {public = true}) + add_defines("LUA_COMPAT_5_1", "LUA_COMPAT_5_2", "LUA_COMPAT_5_3", {public = true}) if is_plat("windows") then add_defines("LUA_USE_WINDOWS") elseif is_plat("macosx", "iphoneos") then |
