1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

Add code to recognise build using VS2017.

This commit is contained in:
Geoff Winkless 2018-04-25 16:27:10 +01:00 committed by Simon Tatham
parent fbc8b7a8cb
commit dbd88975f2

2
misc.c
View File

@ -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