Some compilation options configurable from makefile

Compilation options LUA_COMPAT_GLOBAL, LUA_COMPAT_LOOPVAR, and
LUA_READLINELIB do not affect the API, so they can be changed
through the make file.
This commit is contained in:
Roberto Ierusalimschy
2026-01-20 13:06:16 -03:00
parent f5d1e8639b
commit e992c6a959
5 changed files with 20 additions and 5 deletions

View File

@@ -14,6 +14,7 @@
/* test Lua with compatibility code */
#define LUA_COMPAT_MATHLIB
#undef LUA_COMPAT_GLOBAL
#define LUA_COMPAT_GLOBAL 0
#define LUA_DEBUG