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