Re: MinGW patch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: MinGW patch
Date
Msg-id 200309071637.h87GbgU11534@candle.pha.pa.us
Whole thread Raw
In response to Re: MinGW patch  (Peter Eisentraut <peter_e@gmx.net>)
List 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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: WIN32_CONSOLE usage
Next
From: Manfred Koizar
Date:
Subject: Re: Minor lmgr code cleanup