mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
VS 17 == MSVC v143 == Visual Studio 2022 == cl 19.3x
This commit is contained in:
parent
51eec5086f
commit
9e80947e34
2 changed files with 5 additions and 3 deletions
|
@ -3101,9 +3101,11 @@ function toolset_get_compiler_name(short)
|
|||
|
||||
version = probe_binary(PHP_CL).substr(0, 5).replace('.', '');
|
||||
|
||||
if (version >= 1930) {
|
||||
if (version >= 1940) {
|
||||
return name;
|
||||
} if (version >= 1920) {
|
||||
} else if (version >= 1930) {
|
||||
name = short ? "VS17" : "Visual C++ 2022";
|
||||
} else if (version >= 1920) {
|
||||
/* NOTE - VS is intentional. Due to changes in recent Visual Studio
|
||||
versioning scheme referring to the exact VC++ version is
|
||||
hardly predictable. From this version on, it refers to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue