mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-08 08:58:00 +00:00
buildinfo: add identification for VS 16.9 builds.
Thanks to a user for pointing out that these do exist, but aren't mentioned on the web page I've been citing as a reference so far, and moreover, they need to be identified in a slightly different way.
This commit is contained in:
parent
cc6ab00b71
commit
ffa4585035
11
misc.c
11
misc.c
@ -235,6 +235,17 @@ char *buildinfo(const char *newline)
|
||||
* anomalous first clause. That way the patch looks nicer when you
|
||||
* add extra ones.
|
||||
*/
|
||||
#elif _MSC_VER == 1928 && _MSC_FULL_VER >= 192829500
|
||||
/*
|
||||
* 16.9 and 16.8 have the same _MSC_VER value, and have to be
|
||||
* distinguished by _MSC_FULL_VER. As of 2021-03-04 that is not
|
||||
* mentioned on the above page, but see e.g.
|
||||
* https://developercommunity.visualstudio.com/t/the-169-cc-compiler-still-uses-the-same-version-nu/1335194#T-N1337120
|
||||
* which says that 16.9 builds will have versions starting at
|
||||
* 19.28.29500.* and going up. Hence, 19 28 29500 is what we
|
||||
* compare _MSC_FULL_VER against above.
|
||||
*/
|
||||
strbuf_catf(buf, " 2019 (16.9)");
|
||||
#elif _MSC_VER == 1928
|
||||
strbuf_catf(buf, " 2019 (16.8)");
|
||||
#elif _MSC_VER == 1927
|
||||
|
Loading…
Reference in New Issue
Block a user