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=1cd13919322af3a2e4d9fadcf5fe790e507a5619;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 f881847db7..e5688c345c 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 61f98c5216..1ba066a863 100644 --- a/lib/error.in.h +++ b/lib/error.in.h @@ -1,5 +1,5 @@ /* Declarations for error-reporting functions. - Copyright (C) 1995-1997, 2003, 2006, 2008-2023 Free Software Foundation, + Copyright (C) 1995-1997, 2003, 2006, 2008-2024 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -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