* lib/cdefs.h: Remove an ungrammatical #error diagnostic that is not needed any more, now that people no longer try to use glibc or Gnulib with K&R C compilers. --- ChangeLog | 5 +++++ lib/cdefs.h | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 35f761a0d7..2c934641da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2026-02-21 Paul Eggert <[email protected]> + cdefs: omit ungrammatical (and unnecessary) #error + * lib/cdefs.h: Remove an ungrammatical #error diagnostic + that is not needed any more, now that people no longer + try to use glibc or Gnulib with K&R C compilers. + cdefs: merge from glibc Also, minimize whitespace differences from glibc, to simplify comparison. diff --git a/lib/cdefs.h b/lib/cdefs.h index 4e82167c26..42024b20e1 100644 --- a/lib/cdefs.h +++ b/lib/cdefs.h @@ -24,13 +24,6 @@ # include <features.h> #endif -/* The GNU libc does not support any K&R compilers or the traditional mode - of ISO C compilers anymore. Check for some of the combinations not - supported anymore. */ -#if defined __GNUC__ && !defined __STDC__ && !defined __cplusplus -# error "You need a ISO C or C++ conforming compiler to use the glibc headers" -#endif - /* Some user header file might have defined this before. */ #undef __P #undef __PMT -- 2.51.0
