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

Make -DMINEFIELD show up in Windows buildinfo.

I listed a lot of other build options, but not that one. The release
checklist still recommends doing test builds with it, so it seems
sensible to arrange that you can tell if a build _is_ one of those or
not.
This commit is contained in:
Simon Tatham 2017-07-03 07:27:05 +01:00
parent 4065b0cd78
commit 4624115b76

3
misc.c
View File

@ -1214,6 +1214,9 @@ char *buildinfo(const char *newline)
}
#endif
#if defined _WINDOWS && defined MINEFIELD
strbuf_catf(buf, "%sBuild option: MINEFIELD", newline);
#endif
#ifdef NO_SECURITY
strbuf_catf(buf, "%sBuild option: NO_SECURITY", newline);
#endif