]> Savannah Git Hosting - gnulib.git/commit
libc-config: port to Xcode 7
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 23 Jan 2021 18:19:24 +0000 (10:19 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 23 Jan 2021 19:22:56 +0000 (11:22 -0800)
commit195a10b512067f18c79da0b2184689bc5520517c
tree3282f49d7c18bf4900e55f6cb79eac3c8221eea8
parentcd1b752fa6c5e0aa677f44843ebbe896c10d58ca
libc-config: port to Xcode 7

Problem reported by Mattias Engdegård in:
https://lists.gnu.org/r/emacs-devel/2021-01/msg01089.html
* lib/cdefs.h (__nonnull): If already defined but glibc is not in
use, override the definition with Gnulib’s _GL_ATTRIBUTE_NONNULL.
This is needed for Xcode 7, which has a ‘#define __nonnull
_Nonnull’ builtin for backwards-compatibility with an older Xcode
syntax that GNUish code never uses.
ChangeLog
lib/cdefs.h