RE: Curl_getaddinfo_ex and conditionals mess
Date: Fri, 12 Dec 2008 08:51:03 +0000
On Fri, 2008-12-12 at 09:13 +0100, Daniel Stenberg wrote:
> On Thu, 11 Dec 2008, Patrick Monnerat wrote:
> > But this problem seems to show that it is no longer possible to compile
> > libcurl without ares for a system that supports IPv6 but not
> > getaddrinfo()... It used to be !
> Is this an actual problem? What platforms support IPv6 but have no
getaddrinfo() is part of the IPv6 Basic Sockets API (see RFC 3493). So,
by definition, any platform which lacks that function cannot really be
said to support IPv6.
If OS400 lacks getaddrinfo() then, harsh as it might sound, I think the
best option is to provide an emulation for that function in some support
library. It sounds like libcurl already requires some wrapper
assistance to run properly on this platform for character-set reasons,
so this shouldn't be too much of a hardship.
Received on 2008-12-12