Skip site navigation (1) Skip section navigation (2)

Re: Win32 defines

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Win32 defines
Date: 2003-04-18 09:59:52
Message-ID: Pine.LNX.4.44.0304180228580.1617-100000@peter.localdomain (view raw, whole thread or download thread mbox)
Lists: 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(at)gmx(dot)net

In response to

pgsql-patches by date

Next:From: Bruce MomjianDate: 2003-04-18 23:45:43
Subject: Re: Win32 patch for COPY
Previous:From: Manfred KoizarDate: 2003-04-18 09:55:17
Subject: Re: Nested transactions, 1st try

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group