mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
fix min supported versions
This commit is contained in:
parent
4899109e7b
commit
d5a3838c65
2 changed files with 4 additions and 3 deletions
|
@ -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"):"")
|
||||
|
|
|
@ -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)');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue