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

win32 libpq build broken

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org>
Cc: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: win32 libpq build broken
Date: 2005-02-27 17:37:24
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE4769DE@algol.sollentuna.se (view raw or flat)
Thread:
Lists: pgsql-patches
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
  {

Responses

pgsql-patches by date

Next:From: Magnus HaganderDate: 2005-02-27 18:07:16
Subject: snprintf causes regression tests to fail
Previous:From: Magnus HaganderDate: 2005-02-27 17:07:08
Subject: snprintf.c on win32 does not compile..

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