com php-src: fix win10 support: ext/opcache/shared_alloc_wi n32.c

From: Date: Sat, 03 Oct 2015 08:44:43 +0000
Subject: com php-src: fix win10 support: ext/opcache/shared_alloc_wi n32.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-89274@lists.php.net to get a copy of this message
Commit: 83bef0ef83f645a6b84ba77b7c69ecdbad68f0a1 Author: Anatol Belski <ab@php.net> Sat, 3 Oct 2015 10:44:43 +0200 Parents: fe1933aae2185624bd51b1fd46b8d959f88daf4a Branches: PHP-5.6 PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=83bef0ef83f645a6b84ba77b7c69ecdbad68f0a1 Log: fix win10 support dwMajorVersion == 10 there, and generally this check is obsolete as we don't support dwMajorVersion < 6 since 5.5 Changed paths: M ext/opcache/shared_alloc_win32.c Diff: diff --git a/ext/opcache/shared_alloc_win32.c b/ext/opcache/shared_alloc_win32.c index ae8917d..cf4bce0 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);

« previous php.cvs (#89274) next »