From: Jani Taskinen Date: Mon, 21 Dec 2009 15:22:40 +0000 (+0000) Subject: - Tune the fix for bug #50508 and make it work with MacOSX, bug #50541. X-Git-Tag: php-5.3.2RC1~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0a956c2b72e5fd9956fb815606aa7139df40957;p=php - Tune the fix for bug #50508 and make it work with MacOSX, bug #50541. --- diff --git a/ext/standard/dns.c b/ext/standard/dns.c index 30ffdd6dc5..6eb904ce70 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -44,6 +44,9 @@ #undef T_UNSPEC #endif #if HAVE_ARPA_NAMESER_H +#ifdef DARWIN +# define BIND_8_COMPAT 1 +#endif #include #endif #if HAVE_RESOLV_H