From 0a4e068adaa6162d2d42a33a23e7687e19525a81 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 26 Jan 2020 15:16:47 +0000 Subject: [PATCH] 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. --- misc.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/misc.c b/misc.c index b7da8560..610f0f3d 100644 --- a/misc.c +++ b/misc.c @@ -229,16 +229,20 @@ char *buildinfo(const char *newline) /* * List of _MSC_VER values and their translations taken from * 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 * that every real clause can start with #elif and there's no * anomalous first clause. That way the patch looks nicer when you * 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 - strbuf_catf(buf, " 2019 (16.x)"); + strbuf_catf(buf, " 2019 (16.0)"); #elif _MSC_VER == 1916 strbuf_catf(buf, " 2017 version 15.9"); #elif _MSC_VER == 1915