summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-03-11 03:49:21 +0000
committerfoobar <sniper@php.net>2001-03-11 03:49:21 +0000
commit6795032cb8bfb902c8968f4ad57cb03a3104d11f (patch)
treebeb9e34e69e6e61de85503bae2f63c0ded33eb75 /ext/standard
parent85980139b217a1b967812e414041c30817bf07d2 (diff)
downloadphp-git-6795032cb8bfb902c8968f4ad57cb03a3104d11f.tar.gz
HAVE_BINDLIB --> HAVE_LIBBIND
Diffstat (limited to 'ext/standard')
-rw-r--r--ext/standard/basic_functions.c2
-rw-r--r--ext/standard/dns.c4
-rw-r--r--ext/standard/dns.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index a3fa6bd51f..4172a43c4c 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -247,7 +247,7 @@ function_entry basic_functions[] = {
PHP_FE(gethostbyaddr, NULL)
PHP_FE(gethostbyname, NULL)
PHP_FE(gethostbynamel, NULL)
-#if HAVE_BINDLIB && !(defined(__BEOS__)||defined(PHP_WIN32))
+#if HAVE_LIBBIND && !(defined(__BEOS__)||defined(PHP_WIN32))
PHP_FE(checkdnsrr, NULL)
PHP_FE(getmxrr, second_and_third_args_force_ref)
#else
diff --git a/ext/standard/dns.c b/ext/standard/dns.c
index a2b6ebf501..fc530e1fcf 100644
--- a/ext/standard/dns.c
+++ b/ext/standard/dns.c
@@ -23,7 +23,7 @@
#include <sys/socket.h>
#endif
#ifdef PHP_WIN32
-#if HAVE_BINDLIB
+#if HAVE_LIBBIND
#ifndef WINNT
#define WINNT 1
#endif
@@ -167,7 +167,7 @@ char *php_gethostbyname(char *name)
return estrdup(inet_ntoa(in));
}
-#if HAVE_BINDLIB && !(defined(__BEOS__)||defined(PHP_WIN32))
+#if HAVE_LIBBIND && !(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 */
diff --git a/ext/standard/dns.h b/ext/standard/dns.h
index 0717ad00f4..d77e4ea83d 100644
--- a/ext/standard/dns.h
+++ b/ext/standard/dns.h
@@ -25,7 +25,7 @@
PHP_FUNCTION(gethostbyaddr);
PHP_FUNCTION(gethostbyname);
PHP_FUNCTION(gethostbynamel);
-#if !defined(PHP_WIN32)||(HAVE_BINDLIB)
+#if !defined(PHP_WIN32)||(HAVE_LIBBIND)
PHP_FUNCTION(checkdnsrr);
PHP_FUNCTION(getmxrr);
#endif