lua-users home
lua-l archive

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


On 27/07/2011 18.44, Luiz Henrique de Figueiredo wrote:
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.



Thanks for the prompt reply!