From 767a3a0fd7d5f16a8791930cb70b9bf6e0f6dd68 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 13 Feb 2021 08:32:41 +0000 Subject: [PATCH] Add more _MSC_VER translations. I just re-checked the official list page and found that VS2019 has grown another five minor versions since commit 0a4e068adaa6162. --- misc.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/misc.c b/misc.c index ee27cdb6..71b768ee 100644 --- a/misc.c +++ b/misc.c @@ -235,6 +235,16 @@ char *buildinfo(const char *newline) * anomalous first clause. That way the patch looks nicer when you * add extra ones. */ +#elif _MSC_VER == 1928 + strbuf_catf(buf, " 2019 (16.8)"); +#elif _MSC_VER == 1927 + strbuf_catf(buf, " 2019 (16.7)"); +#elif _MSC_VER == 1926 + strbuf_catf(buf, " 2019 (16.6)"); +#elif _MSC_VER == 1925 + strbuf_catf(buf, " 2019 (16.5)"); +#elif _MSC_VER == 1924 + strbuf_catf(buf, " 2019 (16.4)"); #elif _MSC_VER == 1923 strbuf_catf(buf, " 2019 (16.3)"); #elif _MSC_VER == 1922