Compiling libpq with VC6

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Subject: Compiling libpq with VC6
Date: 2004-08-13 18:08:47
Message-ID: 411D03AF.9010905@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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

Attachment Content-Type Size
port.h.diff text/x-patch 567 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message David Fetter 2004-08-13 21:44:03 PL/Perl document patch
Previous Message Peter Eisentraut 2004-08-13 16:43:27 Re: Translation updates for 7.4/8.0: postgres-ru