lua-users home
lua-l archive

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

> > In the new luaconf.h, the PROMPT, PROGNAME etc. are defined as:
> > 	#define PROGNAME	"lua"
> > 
> > Would it be good to wrap these with '#ifndef PROGNAME' and so on..  
> The idea is that you need to edit luaconf.h once. There'll be 
> no #ifndef's in luaconf.h. We think this is simpler because 
> it simplifies config, but we may be wrong...

I agree with Asko.
I prefer to define LUA_API and LUALIB_API in the makefile, so I can leave
the distro untouched.