Subject: Re: a HAVE_ define check in ares.h

Re: a HAVE_ define check in ares.h

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 1 Jan 2009 22:51:49 +0100 (CET)

On Mon, 22 Dec 2008, Gisle Vanem wrote:

>> Yet it currently features a check for the HAVE_STRUCT_IN6_ADDR define. This
>> really can't be right.
>
> I think it was me who added this. An easy fix would be to define a private
> ares_in6_addr structure.

Yes right, that would work if we made a 'ares_in6_addr' struct unconditonally
instead. The only thing that struct me is that we then risk actually changing
the struct (ABI) for systems that for some reason have a different in6_addr
struct and already run c-ares IPv6 enabled.

Does anyone know of or can think of a case where a system's in6_addr struct
would be different?

-- 
  / daniel.haxx.se
Received on 2009-01-01