lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> if I wanted to avoid Lua to check for initialization env vars such as 
> LUA_INIT, LUA_PATH and LUA_CPATH, would it be enough to undefine the 
> respective  macros in luaconf.h?

No. Lua still calls getenv on the macros and you'll get a compilation error.

> #define LUA_INIT	""

This look safer.