ports/lang/php53/files/patch-ext_standard_php_dns.h
Alex Dupre d8637e03c9 Update to 5.2.11 release.
(Do not link to thread library when building a thread-safe only lib)

Feature safe:	yes
2009-09-22 10:36:31 +00:00

13 lines
408 B
C

--- ext/standard/php_dns.h.orig Sun Jun 19 11:57:31 2005
+++ ext/standard/php_dns.h Sun Jun 19 12:03:37 2005
@@ -25,6 +25,10 @@
#if HAVE_RES_NMKQUERY && HAVE_RES_NSEND && HAVE_DN_EXPAND && HAVE_DN_SKIPNAME
#define HAVE_DNS_FUNCS 1
+#define res_ninit __res_ninit
+#define res_nmkquery __res_nmkquery
+#define res_nsend __res_nsend
+#define res_nclose __res_nclose
#endif
PHP_FUNCTION(gethostbyaddr);