summaryrefslogtreecommitdiff
path: root/ext/standard/dns.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-02-10 21:53:56 +0000
committerAndi Gutmans <andi@php.net>2000-02-10 21:53:56 +0000
commit29280bb9ecbc459c0005a48001f5dd1a62963cd6 (patch)
treec9cc25e5e1a10ec30c8ab4b7637d2af05e108eb9 /ext/standard/dns.c
parent732eeeabd9032537ddef3a6c8ef83064501c463f (diff)
downloadphp-git-29280bb9ecbc459c0005a48001f5dd1a62963cd6.tar.gz
- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
Diffstat (limited to 'ext/standard/dns.c')
-rw-r--r--ext/standard/dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/dns.c b/ext/standard/dns.c
index 112af6ed79..359abef34d 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 WIN32|WINNT
+#if 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 !(WIN32|WINNT)||HAVE_BINDLIB
+#if !(PHP_WIN32)||HAVE_BINDLIB
/* {{{ proto int checkdnsrr(string host [, string type])
Check DNS records corresponding to a given Internet host name or IP address */