From: foobar Date: Sun, 11 Mar 2001 03:49:21 +0000 (+0000) Subject: HAVE_BINDLIB --> HAVE_LIBBIND X-Git-Tag: php-4.0.5RC1~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6795032cb8bfb902c8968f4ad57cb03a3104d11f;p=php HAVE_BINDLIB --> HAVE_LIBBIND --- 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 #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 diff --git a/main/config.w32.h b/main/config.w32.h index 4e042ee680..9a5f178360 100644 --- a/main/config.w32.h +++ b/main/config.w32.h @@ -10,7 +10,7 @@ lib33bsd95.lib to the project settings, and add the path to the bind include directory to the preprocessor settings. These libs are availabe in the ntbind distribution */ -#define HAVE_BINDLIB 1 +#define HAVE_LIBBIND 1 /* set to enable bcmath */ #define WITH_BCMATH 1 @@ -231,7 +231,7 @@ #define HAVE_LOCALE_H 1 /* Define if you have the setvbuf function. */ -#ifndef HAVE_BINDLIB +#ifndef HAVE_LIBBIND #define HAVE_SETVBUF 1 #endif