Redefining inet_net_ntop

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Redefining inet_net_ntop
Дата
Msg-id CAMsr+YHUUWaxzABzoy_USudCuh8dgvKuorm5WWZYy0rS_zos=w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Redefining inet_net_ntop
Re: Redefining inet_net_ntop
Re: Redefining inet_net_ntop
Список pgsql-hackers
Hi folks

port.h declares inet_net_ntop and we always compile our own from port/inet_net_ntop.c .

But it's part of -lresolv on Linux, and more importantly, it's declared in <inet/arpa.h>.

Should we be using our own if the OS has it? I'm thinking of adding a test to configure and omitting our own version if configure finds it. Objections?

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] GnuTLS support
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] generated columns