diff --git a/NEWS b/NEWS index 9995c7051d6..e8c0233bb50 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 81352ea5e35..e1df289ca76 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");