diff options
Diffstat (limited to 'ext/standard/dns.c')
-rw-r--r-- | ext/standard/dns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/dns.c b/ext/standard/dns.c index 359abef34d..c06c017ed8 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -22,7 +22,7 @@ #if HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif -#if PHP_WIN32 +#ifdef PHP_WIN32 #if HAVE_BINDLIB #ifndef WINNT #define WINNT 1 @@ -158,7 +158,7 @@ char *php_gethostbyname(char *name) return estrdup(inet_ntoa(in)); } -#if !(PHP_WIN32)||HAVE_BINDLIB +#if !defined(PHP_WIN32)||HAVE_BINDLIB /* {{{ proto int checkdnsrr(string host [, string type]) Check DNS records corresponding to a given Internet host name or IP address */ |