summaryrefslogtreecommitdiff
path: root/ext/standard/dns.c
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-03-16 07:13:06 +0000
committerfoobar <sniper@php.net>2001-03-16 07:13:06 +0000
commitab560941ee45245de86a3e600f3fccae0b370959 (patch)
tree1ca3c20fd40938a689f347714a1eee2057638acd /ext/standard/dns.c
parentfb41f6730ef71b1fa012944f483e4135f849c8d5 (diff)
downloadphp-git-ab560941ee45245de86a3e600f3fccae0b370959.tar.gz
This should fix problems in systems without libbind.
Diffstat (limited to 'ext/standard/dns.c')
-rw-r--r--ext/standard/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/dns.c b/ext/standard/dns.c
index fc530e1fcf..d9878eaa53 100644
--- a/ext/standard/dns.c
+++ b/ext/standard/dns.c
@@ -167,7 +167,7 @@ char *php_gethostbyname(char *name)
return estrdup(inet_ntoa(in));
}
-#if HAVE_LIBBIND && !(defined(__BEOS__)||defined(PHP_WIN32))
+#if HAVE_RES_SEARCH && !(defined(__BEOS__)||defined(PHP_WIN32))
/* {{{ proto int checkdnsrr(string host [, string type])
Check DNS records corresponding to a given Internet host name or IP address */