[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (rc1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 24 Nov 2011 19:06:02 -0200
> > Secondly, loadlib.c now skips including (the necessary) windows.h
> > since the "defined(LUA_DL_DLL)" check always fails. Note that
> > LUA_DL_DLL is defined in luaconf.h, but this is only included in
> > loadlib.c later on through lua.h (a couple of lines below).
> The old chicken-and-egg problem. Does moving that block
> (#if defined (LUA_DL_DLL)) to after the inclusion of lua.h solves
> the problem?
Actually, this does not solve our problem. We wanted to allow
redefinitions (through luaconf.h) *after* the inclusion of windows.h.
It seems that the best solution is to include windows.h in luaconf.h