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

Re: Proposed fixes for ARES_ECONNREFUSED on Mac OS X

From: Yang Tse <yangsita_at_gmail.com>
Date: Mon, 1 Feb 2010 13:27:55 +0100

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