]> Savannah Git Hosting - gnulib.git/commit
Fix compilation errors with CC="clang -D_FORTIFY_SOURCE=2" on Android.
authorBruno Haible <bruno@clisp.org>
Sun, 29 Jan 2023 22:51:42 +0000 (23:51 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 29 Jan 2023 22:56:17 +0000 (23:56 +0100)
commit522aea1093a598246346b3e1c426505c344fe19a
treeb7d5a27a27295a20fa33b1e8c8bd966ad10dffb1
parentdd0ad385c4b7e30052f25c5c09b6db9a81f7e293
Fix compilation errors with CC="clang -D_FORTIFY_SOURCE=2" on Android.

Reported by Alexey Rochev <equeim@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnu-libiconv/2023-01/msg00019.html>.

* lib/cdefs.h (__bos, __bos0, __glibc_objsize0, __glibc_objsize,
__glibc_safe_len_cond, __glibc_unsigned_or_positive,
__glibc_safe_or_unknown_len, __glibc_unsafe_len, __glibc_fortify,
__glibc_fortify_n): Don't define these macros in Gnulib.
* lib/libc-config.h: Don't undefine these macros in Gnulib.
ChangeLog
lib/cdefs.h
lib/libc-config.h