[Zlib-devel] Avoiding WIN* macros in GNU code [was Re: [Jim Meyering] Re: [Bug-gnulib] strftime merge from Emacs]
Derek Robert Price
derek at ximbiot.com
Tue Jun 10 07:26:01 EDT 2003
Richard Stallman wrote:
> I haven't seen WINDOWSNT used before.
> Here are some of the window-related macros I have seen:
>
> _WIN32 WIN32 __WIN32__ __MSDOS__ WINDOWS32
>
>WINDOWSNT is what Emacs uses. It is a GNU convention that we do not
>use the abbreviation "WIN" to refer to Windows. Are those names
>used in any GNU packages?
>
>
CVS was using it. I just changed that, aside from a reference in
lib/system.h to set WOE32 when it found WIN32 defined.
I did notice that gzip/zlib appears to be switching on WIN32
extensively, at least as of 1.1.4. I've cc'd the zlib-devel mailing list.
There was also one switch on _WIN32 in the version of GNU diff that CVS
uses, but we're several releases behind the latest GNU diff release.
Derek
--
*8^)
Email: derek at ximbiot.com
Get CVS support at <http://ximbiot.com>!
More information about the Zlib-devel
mailing list