]> granicus.if.org Git - php/commitdiff
MFH: Fix Windows build, dns_get_record is defined in dns_win32.c, not here
authorKalle Sommer Nielsen <kalle@php.net>
Wed, 20 May 2009 08:18:48 +0000 (08:18 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Wed, 20 May 2009 08:18:48 +0000 (08:18 +0000)
ext/standard/dns.c

index 742a05f5ac4ca5a8469b8c4ed28d3282efb6148e..0d890b60f9016d714f43579137a51c20754405e5 100644 (file)
@@ -277,7 +277,7 @@ static char *php_gethostbyname(char *name)
 # define PHP_DNS_ALL    (PHP_DNS_A|PHP_DNS_NS|PHP_DNS_CNAME|PHP_DNS_SOA|PHP_DNS_PTR|PHP_DNS_HINFO|PHP_DNS_MX|PHP_DNS_TXT|PHP_DNS_A6|PHP_DNS_SRV|PHP_DNS_NAPTR|PHP_DNS_AAAA)
 #endif /* HAVE_DNS_FUNCS || defined(PHP_WIN32) */
 
-#if defined(PHP_WIN32) || (HAVE_RES_SEARCH && !(defined(__BEOS__) || defined(NETWARE)))
+#if !defined(PHP_WIN32) || (HAVE_RES_SEARCH && !(defined(__BEOS__) || defined(NETWARE)))
 
 /* {{{ proto bool dns_check_record(string host [, string type])
    Check DNS records corresponding to a given Internet host name or IP address */