From dbd88975f2d4c3d1573c45b785ab5669690027c6 Mon Sep 17 00:00:00 2001 From: Geoff Winkless Date: Wed, 25 Apr 2018 16:27:10 +0100 Subject: [PATCH] Add code to recognise build using VS2017. --- misc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc.c b/misc.c index fc5b149d..fb32da5d 100644 --- a/misc.c +++ b/misc.c @@ -1183,6 +1183,8 @@ char *buildinfo(const char *newline) strbuf_catf(buf, "Visual Studio", newline); #if _MSC_VER == 1900 strbuf_catf(buf, " 2015 / MSVC++ 14.0"); +#elif _MSC_VER == 1912 + strbuf_catf(buf, " 2017 / MSVC++ 14.12"); #elif _MSC_VER == 1800 strbuf_catf(buf, " 2013 / MSVC++ 12.0"); #elif _MSC_VER == 1700