Re: [INTERFACES] bcc32 libpq compile problem - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [INTERFACES] bcc32 libpq compile problem
Date
Msg-id 200504291359.j3TDxXI25096@candle.pha.pa.us
Whole thread Raw
In response to Re: [INTERFACES] bcc32 libpq compile problem  ("f.guidi@libero.it" <f.guidi@libero.it>)
List pgsql-patches
f.guidi@libero.it wrote:
> There where an extra character in the .mak file, and then i try to rebuild and now i obtain these errors ...
>
> at the and a file called blibpq.lib was built but it don't seem valid.
>

Here is a fix I forgot to send you that will allow libpq to compile.
This patch will be in 8.0.X too.

--
  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
Index: src/interfaces/libpq/pthread-win32.c
===================================================================
RCS file: /cvsroot/pgsql/src/interfaces/libpq/pthread-win32.c,v
retrieving revision 1.4
diff -c -c -r1.4 pthread-win32.c
*** src/interfaces/libpq/pthread-win32.c    1 Jan 2005 20:44:31 -0000    1.4
--- src/interfaces/libpq/pthread-win32.c    29 Apr 2005 13:40:34 -0000
***************
*** 12,18 ****


  #include <windows.h>
! #include <pthread.h>

  HANDLE
  pthread_self()
--- 12,18 ----


  #include <windows.h>
! #include "pthread.h"

  HANDLE
  pthread_self()

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_restore -F bug
Next
From: Bruce Momjian
Date:
Subject: Re: [INTERFACES] bcc32 libpq compile problem