[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua 5.1 (work3) now available
- From: David Burgess <dburgess@...>
- Date: Sat, 11 Dec 2004 22:39:05 +1000
> I think it is sufficient to test for _WIN32. M$ does it that way,
> they should know. ;-)
OK, will do.
> > + #elif ((defined (WIN32) || defined (_WIN32)) && defined(_M_IX86))
> Testing for _WIN32 is testing for the OS API. But since your code is
> specific to the compiler (and CPU) you want to test for _MSC_VER and
#elif (defined (_WIN32) && defined(_M_IX86))
This should be OK for VC5, VC6, VC7.
I have removed VC7, anyone wish to test it?