From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Derek Robert Price Newsgroups: gmane.emacs.devel,gmane.comp.lib.gnulib.bugs Subject: Avoiding WIN* macros in GNU code [was Re: [Jim Meyering] Re: [Bug-gnulib] strftime merge from Emacs] Date: Mon, 09 Jun 2003 17:10:50 -0400 Organization: Ximbiot Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3EE4F7DA.1060103@ximbiot.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1055193863 10633 80.91.224.249 (9 Jun 2003 21:24:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Jun 2003 21:24:23 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jun 09 23:24:20 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19PU7o-0002l3-00 for ; Mon, 09 Jun 2003 23:24:20 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19PURz-0002ue-00 for ; Mon, 09 Jun 2003 23:45:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19PU8U-0001cF-Iv for emacs-devel@quimby.gnus.org; Mon, 09 Jun 2003 17:25:02 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19PU86-0001ax-Dh for emacs-devel@gnu.org; Mon, 09 Jun 2003 17:24:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19PTyc-0007uu-5P for emacs-devel@gnu.org; Mon, 09 Jun 2003 17:14:50 -0400 Original-Received: from smtp-out.comcast.net ([24.153.64.109]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19PTxH-0007UW-3J for emacs-devel@gnu.org; Mon, 09 Jun 2003 17:13:27 -0400 Original-Received: from mail.ximbiot.com (pcp01464431pcs.lpaxtn01.pa.comcast.net [68.82.83.152]) by mtaout05.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with SMTP id <0HG8008F3G64Z7@mtaout05.icomcast.net> for emacs-devel@gnu.org; Mon, 09 Jun 2003 17:10:53 -0400 (EDT) Original-Received: (qmail 22331 invoked from network); Mon, 09 Jun 2003 21:10:51 +0000 Original-Received: from localhost (HELO ximbiot.com) (?E5MmGX7rliRNeP3lY0vLGGDBmocs+pcz?@127.0.0.1) by localhost with SMTP; Mon, 09 Jun 2003 21:10:51 +0000 Original-To: rms@gnu.org X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 Original-cc: Dave Love Original-cc: bug-gnulib@gnu.org Original-cc: zlib-devel@zlib.net X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14968 gmane.comp.lib.gnulib.bugs:484 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14968 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@ximbiot.com Get CVS support at !