]> Savannah Git Hosting - gnulib.git/commitdiff
libc-config: Avoid overriding the headers from an installed newer glibc.
authorBruno Haible <bruno@clisp.org>
Tue, 5 Jan 2021 03:12:08 +0000 (04:12 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 5 Jan 2021 03:12:08 +0000 (04:12 +0100)
Reported by Paul E Murphy <murphyp@linux.ibm.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00106.html>.

* lib/cdefs.h: Use a different include guard than glibc's <sys/cdefs.h>.
* lib/libc-config.h: Update accordingly.

ChangeLog
lib/libc-config.h

index db0b1c1f53ec89bf79b5e8caab711dad7999d0ee..7ccc4e8b8c16145d97125b1a4691ed2cac99ca57 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
        Reported by Paul E Murphy <murphyp@linux.ibm.com> in
        <https://lists.gnu.org/archive/html/bug-gnulib/2020-12/msg00106.html>.
        * lib/cdefs.h: Use a different include guard than glibc's <sys/cdefs.h>.
+       * lib/libc-config.h: Update accordingly.
 
 2021-01-04  Simon Josefsson  <simon@josefsson.org>
 
index dff0b3ed8dd3a0921c524879d4914dc0766d88ef..fbea948e633e490d0f898a0cd6e5388d8f468ed4 100644 (file)
@@ -89,7 +89,7 @@
 /* Undef the macros unconditionally defined by our copy of glibc
    <sys/cdefs.h>, 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