summaryrefslogtreecommitdiff
path: root/core/src/lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-31 00:51:17 +0800
committerruki <[email protected]>2026-03-31 00:51:17 +0800
commit0dddc81ee9a97221f2e20851ac133cc2a105125b (patch)
treea649555376d03267204f9f7c6a0fcaf149296089 /core/src/lua
parent87e2b7c579d49bd20b69304b38c285989369967a (diff)
revert rdkconst
Diffstat (limited to 'core/src/lua')
-rw-r--r--core/src/lua/xmake.lua4
-rwxr-xr-xcore/src/lua/xmake.sh4
2 files changed, 0 insertions, 8 deletions
diff --git a/core/src/lua/xmake.lua b/core/src/lua/xmake.lua
index 6a3fa78a6..39d7b0baa 100644
--- a/core/src/lua/xmake.lua
+++ b/core/src/lua/xmake.lua
@@ -22,10 +22,6 @@ target("lua")
-- add definitions
add_defines("LUA_COMPAT_5_1", "LUA_COMPAT_5_2", "LUA_COMPAT_5_3", {public = true})
- -- allow reassignment of for-loop control variables (lua 5.4 compatible)
- add_undefines("RDKCONST")
- add_defines("RDKCONST=0")
-
if is_plat("windows", "mingw") then
-- it has been defined in luaconf.h
--add_defines("LUA_USE_WINDOWS")
diff --git a/core/src/lua/xmake.sh b/core/src/lua/xmake.sh
index cfffd000c..6c504c3d0 100755
--- a/core/src/lua/xmake.sh
+++ b/core/src/lua/xmake.sh
@@ -45,10 +45,6 @@ target "lua"
# add definitions
add_defines "LUA_COMPAT_5_1" "LUA_COMPAT_5_2" "LUA_COMPAT_5_3" "{public}"
- # allow reassignment of for-loop control variables (lua 5.4 compatible)
- add_undefines "RDKCONST"
- add_defines "RDKCONST=0"
-
if is_plat "mingw"; then true
# it has been defined in luaconf.h
#add_defines "LUA_USE_WINDOWS"