Re: APR 1.0 released - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: APR 1.0 released
Date
Msg-id 200409101743.11029.peter_e@gmx.net
Whole thread Raw
In response to Re: APR 1.0 released  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: APR 1.0 released  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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/



pgsql-hackers by date:

Previous
From: Grant Finnemore
Date:
Subject: Re: Failed assertion, CVS head
Next
From: Bruce Momjian
Date:
Subject: Re: APR 1.0 released