From: Collin Funk Date: Wed, 10 Jun 2026 04:09:43 +0000 (-0700) Subject: env: port to mingw X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=beb01907393e3a36611809106e91cc75d8be3259;p=thirdparty%2Fcoreutils.git env: port to mingw * src/env.c (IGNORE): Undefine the macro so it does not break the SIGNAL_MODE enum. --- diff --git a/src/env.c b/src/env.c index 3e4f9b3fca..ea7ff70679 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,