Re: [PATCHES] MinGW patch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: [PATCHES] MinGW patch
Date: 2003-09-07 16:37:42
Message-ID: 200309071637.h87GbgU11534@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers-win32 pgsql-patches

Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > As Tom mentioned, it doesn't find things like sys/socket.h, which we
> > have added to src/include/port/win32/. This was done to elimintate
> > #ifdef of the include files that are Win32-specific.
>
> OK, then you can reference the top source directory as $srcdir in
> configure.

OK, new code is:

if test "$PORTNAME" = "win32"
then
CPPFLAGS="$CPPFLAGS -I$srcdir/src/include/port/win32"
fi

Thanks.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Manfred Spraul 2003-09-07 18:37:08 Re: [PATCHES] WIN32_CONSOLE usage
Previous Message Bruce Momjian 2003-09-07 16:34:02 Re: WIN32_CONSOLE usage

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Manfred Spraul 2003-09-07 18:37:08 Re: [PATCHES] WIN32_CONSOLE usage
Previous Message Bruce Momjian 2003-09-07 16:34:02 Re: WIN32_CONSOLE usage

Browse pgsql-patches by date

  From Date Subject
Next Message Manfred Koizar 2003-09-07 16:47:55 Re: Minor lmgr code cleanup
Previous Message Bruce Momjian 2003-09-07 16:34:02 Re: WIN32_CONSOLE usage