1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-11 08:08:06 -05:00

buildinfo: add cases to recognise MSVC 17.1 and 17.2.

This commit is contained in:
Simon Tatham 2022-05-31 13:28:50 +01:00
parent a216d86106
commit a647296d51

View File

@ -44,6 +44,10 @@ char *buildinfo(const char *newline)
* cases, two different compiler versions have the same _MSC_VER
* value, and have to be distinguished by _MSC_FULL_VER.
*/
#elif _MSC_VER == 1932
put_fmt(buf, " 2022 (17.2)");
#elif _MSC_VER == 1931
put_fmt(buf, " 2022 (17.1)");
#elif _MSC_VER == 1930
put_fmt(buf, " 2022 (17.0)");
#elif _MSC_VER == 1929 && _MSC_FULL_VER >= 192930100