Re: Compiling libpq with VC6 - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Compiling libpq with VC6
Date
Msg-id 200408180337.i7I3bLI03235@candle.pha.pa.us
Whole thread Raw
In response to Compiling libpq with VC6  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: Compiling libpq with VC6  (Andreas Pflug <pgadmin@pse-consulting.de>)
List 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@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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: ALTER INDEX
Next
From: Bruce Momjian
Date:
Subject: Re: PL/Perl document patch