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

Earnie Boyd earnie_boyd@yahoo.com
Thu Sep 10 14:21:00 GMT 1998

---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
> > with mingw32) is that there exists code that already has some
> > 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).

-        \\||//

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".

More information about the Cygwin mailing list