]> granicus.if.org Git - php/commitdiff
[DOC] enable inet_pton() and inet_ntop() on Windows
authorKalle Sommer Nielsen <kalle@php.net>
Thu, 22 May 2008 22:06:15 +0000 (22:06 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Thu, 22 May 2008 22:06:15 +0000 (22:06 +0000)
NEWS
ext/standard/config.w32

diff --git a/NEWS b/NEWS
index 9995c7051d6ebbee70519ed8b75962097ea6f4ad..e8c0233bb509d20f0a05827482ced8b7c12e0829 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -107,6 +107,7 @@ PHP                                                                        NEWS
   behavior. (Stas)
 - Added forward_static_call(_array) to complete LSB. (Mike Lively)
 - Added native support for asinh(), acosh(), atanh(), log1p() and expm1() (Kalle)
+- inet_pton() and inet_ntop() is now available on Windows platforms (Kalle)
 
 - Improved PHP runtime speed and memory usage:
   . Use IS_CV for direct access to $this variable. (Dmitry)
index 81352ea5e35c2ae818d3894b4f6f37056a5d45a2..e1df289ca76f9e75337c599c992c804cb6cd3714 100644 (file)
@@ -2,7 +2,10 @@
 // $Id$
 
 ARG_WITH("config-file-scan-dir", "Dir to check for additional php ini files", "");
+
 AC_DEFINE("PHP_CONFIG_FILE_SCAN_DIR", PHP_CONFIG_FILE_SCAN_DIR);
+AC_DEFINE("HAVE_INET_PTON", 1);
+AC_DEFINE("HAVE_INET_NTOP", 1);
 
 CHECK_HEADER_ADD_INCLUDE("timelib_config.h", "CFLAGS_STANDARD", "ext/date/lib");