cvs: php-src(PHP_5_3) /ext/standard dns.c

From: Date: Wed, 20 May 2009 12:15:39 +0000
Subject: cvs: php-src(PHP_5_3) /ext/standard dns.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-58074@lists.php.net to get a copy of this message
jani Wed May 20 12:15:39 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard dns.c Log: MFH: Fix non-windows builds http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.70.2.7.2.5.2.22&r2=1.70.2.7.2.5.2.23&diff_format=u Index: php-src/ext/standard/dns.c diff -u php-src/ext/standard/dns.c:1.70.2.7.2.5.2.22 php-src/ext/standard/dns.c:1.70.2.7.2.5.2.23 --- php-src/ext/standard/dns.c:1.70.2.7.2.5.2.22 Wed May 20 08:18:48 2009 +++ php-src/ext/standard/dns.c Wed May 20 12:15:39 2009 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dns.c,v 1.70.2.7.2.5.2.22 2009/05/20 08:18:48 kalle Exp $ */ +/* $Id: dns.c,v 1.70.2.7.2.5.2.23 2009/05/20 12:15:39 jani Exp $ */ /* {{{ includes */ #include "php.h" @@ -277,7 +277,8 @@ # 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))) +/* Note: These functions are defined in ext/standard/dns_win32.c for Windows! */ +#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 */ @@ -916,7 +917,7 @@ } /* }}} */ #endif /* HAVE_DN_SKIPNAME && HAVE_DN_EXPAND */ -#endif /* defined(PHP_WIN32) || (HAVE_RES_SEARCH && !(defined(__BEOS__) || defined(NETWARE))) */ +#endif /* defined(PHP_WIN32) && (HAVE_RES_SEARCH && !(defined(__BEOS__) || defined(NETWARE))) */ #if HAVE_DNS_FUNCS || defined(PHP_WIN32)

« previous php.cvs (#58074) next »