lua-users home
lua-l archive

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


> First of all, in luaconf.h the MS_ASMTRICK define is now incorrectly
> activated for non-Microsoft compilers. It looks like the
> "defined(_MSC_VER)" check from the beta was changed into
> "defined(LUA_WIN)" for this release candidate. The previous version
> worked fine. So I don't know why it was changed...

We tried to concentrate all checks for Windows on LUA_WIN. (But this
check is not for Windows, it is for a MS compiler... our bad.)


> 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?

-- Roberto