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: Wed, 14 Jan 2009 14:09:33 +0100 (CET)

On Thu, 1 Jan 2009, Daniel Stenberg wrote:

>> 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.

Ok, this is how I proceeded now and I've committed a fix that makes us use the
private struct only.

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