Redefining inet_net_ntop - Mailing list pgsql-hackers

From Craig Ringer
Subject Redefining inet_net_ntop
Date
Msg-id CAMsr+YHUUWaxzABzoy_USudCuh8dgvKuorm5WWZYy0rS_zos=w@mail.gmail.com
Whole thread Raw
Responses Re: Redefining inet_net_ntop
Re: Redefining inet_net_ntop
Re: Redefining inet_net_ntop
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] GnuTLS support
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] generated columns