This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: I: gcc ... -U_WIN32 ... may cause problems


---Geoffrey Noer <noer@cygnus.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@yahoo.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]