From: Bruno Haible Date: Tue, 5 Jan 2021 03:12:08 +0000 (+0100) Subject: libc-config: Avoid overriding the headers from an installed newer glibc. X-Git-Tag: v1.0~3210 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=9a6782ac052fc3b07349fb8e0c08b7d5060d403d;p=gnulib.git libc-config: Avoid overriding the headers from an installed newer glibc. Reported by Paul E Murphy in . * lib/cdefs.h: Use a different include guard than glibc's . * lib/libc-config.h: Update accordingly. --- diff --git a/ChangeLog b/ChangeLog index db0b1c1f53..7ccc4e8b8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ Reported by Paul E Murphy in . * lib/cdefs.h: Use a different include guard than glibc's . + * lib/libc-config.h: Update accordingly. 2021-01-04 Simon Josefsson diff --git a/lib/libc-config.h b/lib/libc-config.h index dff0b3ed8d..fbea948e63 100644 --- a/lib/libc-config.h +++ b/lib/libc-config.h @@ -89,7 +89,7 @@ /* Undef the macros unconditionally defined by our copy of glibc , so that they do not clash with any system-defined versions. */ -#undef _SYS_CDEFS_H +#undef _GL_CDEFS_H #undef __ASMNAME #undef __ASMNAME2 #undef __BEGIN_DECLS