From: Bruno Haible Date: Sat, 11 May 2024 21:21:08 +0000 (+0200) Subject: error-h: Avoid namespace pollution on mingw. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=567b7c392c062a13ddbaab79df15db016de6d04b;p=gnulib.git error-h: Avoid namespace pollution on mingw. * lib/error.in.h: Don't include mingw's . --- diff --git a/ChangeLog b/ChangeLog index ff0dc26ecc..fd40f0461a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-05-11 Bruno Haible + + error-h: Avoid namespace pollution on mingw. + * lib/error.in.h: Don't include mingw's . + 2024-05-09 Bruno Haible unistr/u8-strstr tests: Avoid test failure with ASAN. diff --git a/lib/error.in.h b/lib/error.in.h index 51f8cafd10..1ba066a863 100644 --- a/lib/error.in.h +++ b/lib/error.in.h @@ -23,7 +23,7 @@ or error_at_line(...) invocations. */ /* The include_next requires a split double-inclusion guard. */ -#if @HAVE_ERROR_H@ +#if @HAVE_ERROR_H@ && !defined __MINGW32__ # @INCLUDE_NEXT@ @NEXT_ERROR_H@ #endif