[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (work1) now available
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 9 Jan 2010 22:30:17 -0200
> 1) if you are going to use windows.h it should be the first header, this
> is because the windows headers modify macros used by the RTL, I have
> read MS documentation on this (but cant remember where).
> This means that loadlib.c *needs* an in the module #ifdef to include
> windows.h as the first header. I vaguely remember specific problems with
> modules that include <io.h>, so in writing a Lua library for windows the
> header order is impoortant.
But in 5.1.4 windows.h is included after stdlib.h, string.h, lua.h, etc.
And it seems to work fine...