Skip to content

Commit 5e2ed8c

Browse files
committed
Raise the supported API to win7/server 2008r2
1 parent b6553d4 commit 5e2ed8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

win32/build/confutils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var PHP_TEST_INI_PATH = "";
4444
var PHP_TEST_INI = "";
4545
var PHP_TEST_INI_EXT_EXCLUDE = "";
4646

47-
var WINVER = "0x0600"; /* Vista */
47+
var WINVER = "0x0601"; /* 7/2008r2 */
4848

4949
// There's a minimum requirement for re2c..
5050
var MINRE2C = "0.13.4";
@@ -3027,7 +3027,7 @@ function toolset_setup_common_cflags()
30273027
{
30283028
// CFLAGS for building the PHP dll
30293029
DEFINE("CFLAGS_PHP", "/D _USRDLL /D PHP7DLLTS_EXPORTS /D PHP_EXPORTS \
3030-
/D LIBZEND_EXPORTS /D TSRM_EXPORTS /D SAPI_EXPORTS /D WINVER=" + WINVER);
3030+
/D LIBZEND_EXPORTS /D TSRM_EXPORTS /D SAPI_EXPORTS /D _WIN32_WINNT=" + WINVER);
30313031

30323032
DEFINE('CFLAGS_PHP_OBJ', '$(CFLAGS_PHP) $(STATIC_EXT_CFLAGS)');
30333033

0 commit comments

Comments
 (0)