]> granicus.if.org Git - php/commitdiff
HAVE_BINDLIB --> HAVE_LIBBIND
authorfoobar <sniper@php.net>
Sun, 11 Mar 2001 03:49:21 +0000 (03:49 +0000)
committerfoobar <sniper@php.net>
Sun, 11 Mar 2001 03:49:21 +0000 (03:49 +0000)
ext/standard/basic_functions.c
ext/standard/dns.c
ext/standard/dns.h
main/config.w32.h

index a3fa6bd51f38a64476b2a17b186d54aa95731209..4172a43c4cd1cc2d6896b5c731589a48f666d51c 100644 (file)
@@ -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
index a2b6ebf50192c19ce684f337cc4519fda2fb16bf..fc530e1fcfd094b9ad111f2edc76b58bea6f3eaf 100644 (file)
@@ -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 */
index 0717ad00f4e550b87c0f90fe5571d3566c3d488d..d77e4ea83df04fee18ba26fa42ddf464047a146a 100644 (file)
@@ -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
index 4e042ee68001210f36697c30d3ac82cac7e96b6f..9a5f178360cfb914d46486f74816fea15cef66fc 100644 (file)
@@ -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
 #define HAVE_LOCALE_H 1
 
 /* Define if you have the setvbuf function.  */
-#ifndef HAVE_BINDLIB
+#ifndef HAVE_LIBBIND
 #define HAVE_SETVBUF 1
 #endif