Re: win32 libpq build broken

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Magnus Hagander <mha(at)sollentuna(dot)net>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: win32 libpq build broken
Date: 2005-02-27 22:57:45
Message-ID: 200502272257.j1RMvk401444@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Patch applied. Thanks.

---------------------------------------------------------------------------

Magnus Hagander wrote:
> by the change to gettext. Needs a bunch of new includes. Patch follows:
>
>
> diff -c -r1.13 win32.c
> *** win32.c 22 Feb 2005 04:42:20 -0000 1.13
> --- win32.c 27 Feb 2005 17:36:06 -0000
> ***************
> *** 19,26 ****
>
> /* Make stuff compile faster by excluding not used stuff */
>
> - #define WIN32_LEAN_AND_MEAN
> - #define WIN32_EXTRA_LEAN
> #define VC_EXTRALEAN
> #ifndef __MINGW32__
> #define NOGDI
> --- 19,24 ----
> ***************
> *** 31,36 ****
> --- 29,37 ----
> #include <winsock.h>
> #include <stdio.h>
> #include "win32.h"
> + #include "postgres_fe.h"
> + #include "libpq-fe.h"
> + #include "libpq-int.h"
>
> static struct WSErrorEntry
> {
>

--
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-patches by date

  From Date Subject
Next Message Peter Eisentraut 2005-02-28 00:24:55 Re: int4 <-> bool casts
Previous Message Neil Conway 2005-02-27 22:51:50 Re: int4 <-> bool casts