Re: Compiling libpq with VC6

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Compiling libpq with VC6
Дата
Msg-id 200408180337.i7I3bLI03235@candle.pha.pa.us
обсуждение исходный текст
Ответ на Compiling libpq with VC6  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: Compiling libpq with VC6  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: ALTER INDEX
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: PL/Perl document patch