Re: APR 1.0 released

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: APR 1.0 released
Date: 2004-09-10 15:43:11
Message-ID: 200409101743.11029.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:

> OK, I am wrong above. Coding assumes WIN32 is only for port named
> WIN32, which is mingw, and for BCC and VCC. I was not aware Cygwin
> defined it at all. Are we sure it does in a header file?

The problem is that some pieces of Cygwin code include windows.h, which
it shouldn't do. If you fix those places, then there is no problem.

> I wonder if we should just call the port mingw and change the proper
> defines to __MINGW__. We would then create a define called
> WIN32_NATIVE that is defined for __MINGW__, BVC and VCC.

WIN32 is the correct symbol; see above.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-09-10 15:55:46 Re: APR 1.0 released
Previous Message Grant Finnemore 2004-09-10 15:38:14 Re: Failed assertion, CVS head