|
From: | JonY |
Subject: | [Lzip-bug] Re: Version 1.11-rc4 of lzip released |
Date: | Wed, 11 Aug 2010 00:38:50 +0800 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |