delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/11/02:33:31

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: Re: I: gcc ... -U_WIN32 ... may cause problems
11 Sep 1998 02:33:31 -0700 :
Message-ID: <19980910155429.26532.rocketmail.cygnus.gnu-win32@send104.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: Geoffrey Noer <noer AT cygnus DOT com>
Cc: Mumit Khan <khan AT xraylith DOT wisc DOT edu>, gw32 <gnu-win32 AT cygnus DOT com>

---Geoffrey Noer <noer AT cygnus DOT com> wrote:
>
> On Tue, Sep 08, 1998 at 04:56:32AM -0700, Earnie Boyd wrote:
> [...]
> > The `argument' I have for removing the _WIN32 from cygwin32 (I'll
live
> > with mingw32) is that there exists code that already has some
porting
> > to WIN32 and it gets in the way of wanting to build the __UNIX__
> > version under WIN32.  Since this is the goal of the Cygnus Project
> > then it would be best served to remove the definitions of _WIN32.
> 
> Cygwin32 wants to allow both Unix and Win32 API calls.  Although I
> see the appeal in making it possible to express a preference for one
> or the other, I don't think overloading "_WIN32" is the right
> solution.  "_WIN32" means "access to the Win32 API" to me, something
> that the Cygwin32 configuration permits.
> 

Geoffrey, __CYGWIN32__ means "access to both Win32 API calls and
Unix/Posix API calls".  _WIN32 means "access to only Win32 API calls".
 __MINGW32__ means "access to only Win32 API calls" (Actually could be
dropped in favor of _WIN32).

==
-        \\||//
---o0O0--Earnie--0O0o----
--earnie_boyd AT yahoo DOT com--
------ooo0O--O0ooo-------



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019