diff options
Diffstat (limited to 'include/assert.h')
-rw-r--r-- | include/assert.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/assert.h b/include/assert.h index c452667956..61cc8aa22f 100644 --- a/include/assert.h +++ b/include/assert.h @@ -18,9 +18,9 @@ extern void __assert_perror_fail (int __errnum, const char *__file, extern void __assert_fail_base (const char *fmt, const char *assertion, const char *file, unsigned int line, const char *function) - __THROW __attribute__ ((__noreturn__)); + __THROW __attribute__ ((__noreturn__)) attribute_hidden; -# if IS_IN (libc) || IS_IN (rtld) +# if IS_IN (libc) || (IS_IN (rtld) && !defined NO_RTLD_HIDDEN) hidden_proto (__assert_fail) hidden_proto (__assert_perror_fail) # endif |