ports/lang/php52/files/patch-ext_standard_php_dns.h
Dirk Meyer 3acf4c24e2 PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
Source general-purpose scripting language that is especially suited for
Web development and can be embedded into HTML.  Its syntax draws upon C,
Java, and Perl, and is easy to learn.  The main goal of the language is to
allow web developers to write dynamically generated webpages quickly, but
you can do much more with PHP.

WWW: http://www.php.net/
PR:		145772
Submitted by:	Alex Keda
2010-04-23 15:03:13 +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);