On 8/10/2010 23:57, Tilman Hausherr wrote:
An alternative might be _WIN32 if you don't want to use anything
MS-specific. This is defined for Microsoft (even when compiled for 64
bit) and Borland and watcom according to google. And its not defined on
gcc.
http://www.google.de/search?q=_WIN32+borland+watcom

Tilman


Hi,

the problem is that it might bite Cygwin users. _WIN32 isn't normally defined for cygwin gcc, until a windows specific header gets pulled in.

Cygwin maintainers say using _WIN32 for this purpose is an abuse, not that I want to argue with them.

I suggest just putting __MINGW32__ and _MSC_VER, we don't know what Borland or Watcom compilers are capable of.

_______________________________________________
Lzip-bug mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lzip-bug

Reply via email to