mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Update _MSC_VER translation table.
The entry for 19.0 which we included in advance of its listing on the
official page is now confirmed, and also three followup versions.
(cherry picked from commit 0a4e068ada
)
This commit is contained in:
parent
97b39eeca3
commit
45198e10c5
10
misc.c
10
misc.c
@ -229,16 +229,20 @@ char *buildinfo(const char *newline)
|
|||||||
/*
|
/*
|
||||||
* List of _MSC_VER values and their translations taken from
|
* List of _MSC_VER values and their translations taken from
|
||||||
* https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros
|
* https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros
|
||||||
* except for 1920, which is not yet listed on that page as of
|
|
||||||
* 2019-03-22, and was determined experimentally by Sean Kain.
|
|
||||||
*
|
*
|
||||||
* The pointless #if 0 branch containing this comment is there so
|
* The pointless #if 0 branch containing this comment is there so
|
||||||
* that every real clause can start with #elif and there's no
|
* that every real clause can start with #elif and there's no
|
||||||
* anomalous first clause. That way the patch looks nicer when you
|
* anomalous first clause. That way the patch looks nicer when you
|
||||||
* add extra ones.
|
* add extra ones.
|
||||||
*/
|
*/
|
||||||
|
#elif _MSC_VER == 1923
|
||||||
|
strbuf_catf(buf, " 2019 (16.3)");
|
||||||
|
#elif _MSC_VER == 1922
|
||||||
|
strbuf_catf(buf, " 2019 (16.2)");
|
||||||
|
#elif _MSC_VER == 1921
|
||||||
|
strbuf_catf(buf, " 2019 (16.1)");
|
||||||
#elif _MSC_VER == 1920
|
#elif _MSC_VER == 1920
|
||||||
strbuf_catf(buf, " 2019 (16.x)");
|
strbuf_catf(buf, " 2019 (16.0)");
|
||||||
#elif _MSC_VER == 1916
|
#elif _MSC_VER == 1916
|
||||||
strbuf_catf(buf, " 2017 version 15.9");
|
strbuf_catf(buf, " 2017 version 15.9");
|
||||||
#elif _MSC_VER == 1915
|
#elif _MSC_VER == 1915
|
||||||
|
Loading…
Reference in New Issue
Block a user