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

Re: Compiling libpq with VisualC

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Compiling libpq with VisualC
Date: 2004-06-19 20:10:10
Message-ID: 40D49DA2.7090400@pse-consulting.de (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32pgsql-patches
Two minor tweaks:

<sys/time.h> in libpq-be.h isn't present on win32 vc6. Apparently, it 
isn't used in Linux either; libpq will compile without it. All usages of 
gettimeofday throughout the backend don't seem connection related, so 
libpq-be.h seems an odd place to include it.

ERROR in elog.h has conflicts with a win32 defined macro; #undef WIN32 
solves the conflict (or not including elog.h for libpq purposes would do 
too)

Regards,
Andreas

Attachment: win32.patch
Description: text/plain (1.0 KB)

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2004-06-19 22:01:25
Subject: Re: Compiling libpq with VisualC
Previous:From: Andreas PflugDate: 2004-06-19 19:25:45
Subject: Re: Tablespace patch review

pgsql-patches by date

Next:From: Tom LaneDate: 2004-06-19 21:49:09
Subject: Re: eventlog fix
Previous:From: Dave PageDate: 2004-06-19 19:44:49
Subject: Re: eventlog fix

pgsql-hackers-win32 by date

Next:From: Tom LaneDate: 2004-06-19 22:01:25
Subject: Re: Compiling libpq with VisualC
Previous:From: Tom LaneDate: 2004-06-18 16:18:21
Subject: Re: pg_ctl vs. Windows locking

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