diff options
Diffstat (limited to 'ext/standard')
-rw-r--r-- | ext/standard/basic_functions.c | 2 | ||||
-rw-r--r-- | ext/standard/dns.c | 4 | ||||
-rw-r--r-- | ext/standard/dns.h | 2 |
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 |