diff options
Diffstat (limited to 'core/src/lua/xmake.sh')
| -rwxr-xr-x | core/src/lua/xmake.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/lua/xmake.sh b/core/src/lua/xmake.sh index 6c504c3d0..cfffd000c 100755 --- a/core/src/lua/xmake.sh +++ b/core/src/lua/xmake.sh @@ -45,6 +45,10 @@ 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" |
