diff options
author | Anatol Belski <ab@php.net> | 2015-10-03 10:44:43 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-10-03 10:44:43 +0200 |
commit | 83bef0ef83f645a6b84ba77b7c69ecdbad68f0a1 (patch) | |
tree | d0aa4a8c53db8f942e1d5487bab59e13a718040e /ext/opcache/shared_alloc_win32.c | |
parent | fe1933aae2185624bd51b1fd46b8d959f88daf4a (diff) | |
download | php-git-83bef0ef83f645a6b84ba77b7c69ecdbad68f0a1.tar.gz |
fix win10 support
dwMajorVersion == 10 there, and generally this check is obsolete
as we don't support dwMajorVersion < 6 since 5.5
Diffstat (limited to 'ext/opcache/shared_alloc_win32.c')
-rw-r--r-- | ext/opcache/shared_alloc_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/shared_alloc_win32.c b/ext/opcache/shared_alloc_win32.c index ae8917dcf5..cf4bce005d 100644 --- a/ext/opcache/shared_alloc_win32.c +++ b/ext/opcache/shared_alloc_win32.c @@ -266,7 +266,7 @@ static int create_segments(size_t requested_size, zend_shared_segment ***shared_ GetSystemInfo(&si); /* Are we running Vista ? */ - if (osvi.dwPlatformId == VER_PLATFORM_WIN32_NT && osvi.dwMajorVersion == 6) { + if (osvi.dwPlatformId == VER_PLATFORM_WIN32_NT && osvi.dwMajorVersion >= 6) { wanted_mapping_base = vista_mapping_base_set; } } while (0); |