From dd9fb9b0cdc8c2901bd076f1fa37cfefec3104d0 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Thu, 22 May 2008 22:06:15 +0000 Subject: [PATCH] [DOC] enable inet_pton() and inet_ntop() on Windows --- NEWS | 1 + ext/standard/config.w32 | 3 +++ 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 9995c7051d..e8c0233bb5 100644 --- 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) diff --git a/ext/standard/config.w32 b/ext/standard/config.w32 index 81352ea5e3..e1df289ca7 100644 --- a/ext/standard/config.w32 +++ b/ext/standard/config.w32 @@ -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"); -- 2.50.1