fix min supported versions

This commit is contained in:
Anatol Belski 2016-12-22 12:40:58 +01:00
parent 4899109e7b
commit d5a3838c65
2 changed files with 4 additions and 3 deletions

View file

@ -6,8 +6,8 @@
/* Define the minimum supported version */ /* Define the minimum supported version */
#undef _WIN32_WINNT #undef _WIN32_WINNT
#undef NTDDI_VERSION #undef NTDDI_VERSION
#define _WIN32_WINNT 0x0600 #define _WIN32_WINNT 0x0601
#define NTDDI_VERSION 0x06000100 #define NTDDI_VERSION 0x06010000
/* Default PHP / PEAR directories */ /* Default PHP / PEAR directories */
#define PHP_CONFIG_FILE_PATH (getenv("SystemRoot")?getenv("SystemRoot"):"") #define PHP_CONFIG_FILE_PATH (getenv("SystemRoot")?getenv("SystemRoot"):"")

View file

@ -44,6 +44,7 @@ var PHP_TEST_INI_PATH = "";
var PHP_TEST_INI = ""; var PHP_TEST_INI = "";
var PHP_TEST_INI_EXT_EXCLUDE = ""; var PHP_TEST_INI_EXT_EXCLUDE = "";
/* Care also about NTDDI_VERSION and _WIN32_WINNT in config.w32.h.in */
var WINVER = "0x0601"; /* 7/2008r2 */ var WINVER = "0x0601"; /* 7/2008r2 */
// There's a minimum requirement for re2c.. // There's a minimum requirement for re2c..
@ -3027,7 +3028,7 @@ function toolset_setup_common_cflags()
{ {
// CFLAGS for building the PHP dll // CFLAGS for building the PHP dll
DEFINE("CFLAGS_PHP", "/D _USRDLL /D PHP7DLLTS_EXPORTS /D PHP_EXPORTS \ 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)'); DEFINE('CFLAGS_PHP_OBJ', '$(CFLAGS_PHP) $(STATIC_EXT_CFLAGS)');