Re: Win32 defines - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: Win32 defines
Date
Msg-id Pine.LNX.4.44.0304180228580.1617-100000@peter.localdomain
Whole thread Raw
In response to Re: Win32 defines  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Bruce Momjian writes:

> I was confused by win.h.  It looks similar to win32.h and cygwin.h in
> that it defines DLIMPORT stuff, but not much else.  What is that file
> for?  I am looking for something that cygwin and win32 can both use,
> though actually maybe are better just leaving cygwin alone and do just
> win32.  Let me do that, unless you have another suggestion.

cygwin.h is for the Cygwin port and win.h is for the Windows port.  There
will be occasional similiarities, but it's not useful to try to keep them
the same.  (win32.h is for the existing client-side Windows compilation
path.  Eventually, it should be removed and users be directed to use the
real Windows port. -- To be determined; don't worry about it now.)

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Manfred Koizar
Date:
Subject: Re: Nested transactions, 1st try
Next
From: Bruce Momjian
Date:
Subject: Re: Win32 patch for COPY