* src/env.c (IGNORE): Undefine the macro so it does not break the
SIGNAL_MODE enum.
---
 src/env.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/env.c b/src/env.c
index 3e4f9b3fc..ea7ff7067 100644
--- a/src/env.c
+++ b/src/env.c
@@ -48,6 +48,10 @@ static bool dev_debug;
 static char *varname;
 static idx_t vnlen;
 
+/* On mingw, winbase.h defines this to zero.  Undefine it so we can use it
+   in the enum.  */
+#undef IGNORE
+
 /* Possible actions on each signal.  */
 enum SIGNAL_MODE {
   UNCHANGED = 0,
-- 
2.54.0


Reply via email to