From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
Cc: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk> |
Subject: | Re: Compiling libpq with VC6 |
Date: | 2004-08-18 03:37:21 |
Message-ID: | 200408180337.i7I3bLI03235@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
The problem with this approach is that it has us using the non-reliable
libc rename/unlink rather than our own in libpq. I have already applied
a fix that allows the code to compile cleanly.
---------------------------------------------------------------------------
Andreas Pflug wrote:
> libpq currently doesn't compile with vc6. The reason is a conflict of
> prototypes for rename and unlink, which happens when fe-lobj.c includes
> io.h.
>
> The attached patch will redefine unlink and rename only if FRONTEND is
> not defined.
>
> Regards,
> Andreas
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-08-18 03:38:11 | Re: PL/Perl document patch |
Previous Message | Bruce Momjian | 2004-08-18 03:28:27 | Re: ALTER INDEX |