lua-users home
lua-l archive

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


> 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
> _M_IX86.
> 
So,

#elif (defined (_WIN32) && defined(_M_IX86))

This should be OK for VC5, VC6, VC7.

I have removed VC7, anyone wish to test it?