Skip to content

Commit

Permalink
Merge branch 'PHP-5.6' into PHP-7.0
Browse files Browse the repository at this point in the history
* PHP-5.6:
  fix win10 support
  • Loading branch information
weltling committed Oct 3, 2015
2 parents e892e2e + 83bef0e commit 96fe3be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/opcache/shared_alloc_win32.c
Expand Up @@ -270,7 +270,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);
Expand Down

0 comments on commit 96fe3be

Please sign in to comment.