]> Savannah Git Hosting - gnulib.git/commit
extern-inline: improve macOS port
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 17 Jan 2022 22:03:01 +0000 (14:03 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 17 Jan 2022 22:07:24 +0000 (14:07 -0800)
commit1332aae7b37ddbacc60d4090b90a6406b56bc98e
treec649c0d9b49234d1d5895211dda8cd415bf97d89
parentf778ecbe676e5e0f9649b1ef2b16af762a17d42d
extern-inline: improve macOS port

* m4/extern-inline.m4 (gl_EXTERN_INLINE):
Define HAVE___HEADER_INLINE at configure-time, so that config.h
knows the workaround is not needed even though ctype.h has not yet
been included.  This lets the compiler use extern inline functions
on newer macOS platforms, instead of static inline.
Problem reported by Reuben Thomas in:
https://lists.gnu.org/r/bug-gnulib/2022-01/msg00130.html
ChangeLog
m4/extern-inline.m4