]> Savannah Git Hosting - gnulib.git/commit
libc-config: port better to Fedora Rawhide
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Apr 2021 19:29:49 +0000 (12:29 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 22 Apr 2021 19:30:14 +0000 (12:30 -0700)
commiteb32c992c90617b529e2ce08ad6014d418dceaf9
treeeaf5aa877f48f5b38194fff9afa8d9a19c10346a
parent882243dcfe41bd703db61af56e954d8dff3369ce
libc-config: port better to Fedora Rawhide

Problem reported by Eric Blake in:
https://lists.gnu.org/r/bug-gnulib/2021-04/msg00181.html
* lib/cdefs.h: Make this closer to glibc, so that we can
merge Gnulib into glibc here.
(__attribute_maybe_unused__): Make identical to glibc’s
definition, though with an additional comment.
(__attribute_nonnull__): Add clarifying comment.
Make inclusion of bits/wordsize.h, bits/long-double.h
dependent on __GLIBC__, not on !__WORDSIZE.
* lib/libc-config.h: Use __attribute_nonnull__,
not __attribute_maybe_unused__, to detect whether
to include sys/cdefs.h.
ChangeLog
lib/cdefs.h
lib/libc-config.h