[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Size and dependencies of bit.dll (LuaForWindows)
- From: Rob Kendrick <rjek@...>
- Date: Mon, 27 Sep 2010 11:25:59 +0100
On Mon, Sep 27, 2010 at 10:03:23AM +0000, J.Jørgen von Bargen wrote:
> Rob Kendrick <rjek <at> rjek.com> writes:
>
> >
> > On Mon, Sep 27, 2010 at 09:26:25AM +0000, J.Jørgen von Bargen wrote:
> > > bit.c
> > > 180,192d177
> > > + #ifdef _WIN32
> > > + #pragma comment(linker, "/OPT:NOWIN98")
> >
> > This will no doubt annoy people on Windows who do not use Microsoft's
> > toolchain.
>
> Well, I assume they would not use MSVCBUILD.BAT and have no _WIN32 :-)
> else change to #if defined(_WIN32) && defined(_MSC_VER)
You assume wrongly:
rjek@trite:~$ cat test.c
#ifdef _WIN32
#error Argh, Windows!
#endif
rjek@trite:~$ i586-mingw32msvc-gcc -c test.c
test.c:2:2: error: #error Argh, Windows!
B.