env: port to mingw

* src/env.c (IGNORE): Undefine the macro so it does not break the
SIGNAL_MODE enum.
This commit is contained in:
Collin Funk committed 2026-06-09 21:09:43 -07:00
1 parent 4ade9cf77f
commit beb0190739
1 file changed
+4
+4
View File
@@ -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,