bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h


From: Bruno Haible
Subject: Re: [PATCH] Merge glibc ieee128 ldbl redirect support into cdefs.h
Date: Tue, 05 Jan 2021 04:13:55 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; )

> 2021-01-04  Bruno Haible  <bruno@clisp.org>
> 
>       libc-config: Avoid overriding the headers from an installed newer glibc.
>       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>.

Oops, that patch was incomplete. Also needed is:


diff --git a/lib/libc-config.h b/lib/libc-config.h
index dff0b3e..fbea948 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
    <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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]