]> granicus.if.org Git - php/commitdiff
fix min supported versions
authorAnatol Belski <ab@php.net>
Thu, 22 Dec 2016 11:40:58 +0000 (12:40 +0100)
committerAnatol Belski <ab@php.net>
Thu, 22 Dec 2016 11:40:58 +0000 (12:40 +0100)
win32/build/config.w32.h.in
win32/build/confutils.js

index e871088f15a208e455e3cf082a91c48e4e56ea8c..573eb95a94eda39c6767255de84270eaf7fc0dd0 100644 (file)
@@ -6,8 +6,8 @@
 /* Define the minimum supported version */
 #undef _WIN32_WINNT
 #undef NTDDI_VERSION
-#define _WIN32_WINNT 0x0600
-#define NTDDI_VERSION  0x06000100
+#define _WIN32_WINNT 0x0601
+#define NTDDI_VERSION 0x06010000
 
 /* Default PHP / PEAR directories */
 #define PHP_CONFIG_FILE_PATH (getenv("SystemRoot")?getenv("SystemRoot"):"")
index 11915d3914004b374f0db80ffcb14f1808de32d6..eafc8f315de35d7639b0cfee0d203f832c990bbe 100644 (file)
@@ -44,6 +44,7 @@ var PHP_TEST_INI_PATH = "";
 var PHP_TEST_INI = "";
 var PHP_TEST_INI_EXT_EXCLUDE = "";
 
+/* Care also about NTDDI_VERSION and _WIN32_WINNT in config.w32.h.in */
 var WINVER = "0x0601"; /* 7/2008r2 */
 
 // There's a minimum requirement for re2c..
@@ -3027,7 +3028,7 @@ function toolset_setup_common_cflags()
 {
        // CFLAGS for building the PHP dll
        DEFINE("CFLAGS_PHP", "/D _USRDLL /D PHP7DLLTS_EXPORTS /D PHP_EXPORTS \
-       /D LIBZEND_EXPORTS /D TSRM_EXPORTS /D SAPI_EXPORTS /D _WIN32_WINNT=" + WINVER);
+       /D LIBZEND_EXPORTS /D TSRM_EXPORTS /D SAPI_EXPORTS /D WINVER=" + WINVER);
 
        DEFINE('CFLAGS_PHP_OBJ', '$(CFLAGS_PHP) $(STATIC_EXT_CFLAGS)');