From 4624115b76903b0b9ad97bee713afafcbd70a31c Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 3 Jul 2017 07:27:05 +0100 Subject: [PATCH] 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. --- misc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc.c b/misc.c index 469e4aeb..fc5b149d 100644 --- a/misc.c +++ b/misc.c @@ -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