From 6f5c5d212df15586e3aab33fbea64ac665b7c3f4 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 7 May 2021 13:37:19 +0300 Subject: Really sync from GNULIB this time. --- support/libc-config.h | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'support/libc-config.h') diff --git a/support/libc-config.h b/support/libc-config.h index fcdafcb9..fabca2fa 100644 --- a/support/libc-config.h +++ b/support/libc-config.h @@ -33,9 +33,9 @@ #include /* On glibc this includes and and #defines - _FEATURES_H, __WORDSIZE, and __set_errno. On FreeBSD 11 it - includes which defines __nonnull. Elsewhere it - is harmless. */ + _FEATURES_H, __WORDSIZE, and __set_errno. On FreeBSD 11 and + DragonFlyBSD 5.9 it includes which defines __nonnull. + Elsewhere it is harmless. */ #include /* From glibc . */ @@ -71,7 +71,7 @@ # endif #endif -#ifndef __attribute_maybe_unused__ +#ifndef __attribute_nonnull__ /* either does not exist, or is too old for Gnulib. Prepare to include , which is Gnulib's version of a more-recent glibc . */ @@ -80,13 +80,9 @@ # ifndef _FEATURES_H # define _FEATURES_H 1 # endif -/* Define __WORDSIZE so that does not attempt to include - nonexistent files. Make it a syntax error, since Gnulib does not - use __WORDSIZE now, and if Gnulib uses it later the syntax error - will let us know that __WORDSIZE needs configuring. */ -# ifndef __WORDSIZE -# define __WORDSIZE %%% -# endif +/* Define __GNULIB_CDEFS so that does not attempt to include + nonexistent files. */ +# define __GNULIB_CDEFS /* Undef the macros unconditionally defined by our copy of glibc , so that they do not clash with any system-defined versions. */ -- cgit v1.2.3