Subject: Re: Proposed fixes for ARES_ECONNREFUSED on Mac OS X

Re: Proposed fixes for ARES_ECONNREFUSED on Mac OS X

From: Jan Van Boghout <lists_at_macrabbit.com>
Date: Tue, 2 Feb 2010 20:49:43 +0100

I can verify that this works, yes.

Cheers,
Jan

> 2010/2/1, Jan Van Boghout wrote:
>
> Relative to the following part:
>
> +#ifdef __APPLE__
> +#define PATH_RESOLV_CONF "/var/run/resolv.conf"
> +#else
>
> Could you verify if using "#if defined(__APPLE__) &&
> defined(__MACH__)" is good for both gcc and xcode compilers?
>
> Cheers,
> --
> -=[Yang]=-
Received on 2010-02-02