aboutsummaryrefslogtreecommitdiff
path: root/include/assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/assert.h')
-rw-r--r--include/assert.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/assert.h b/include/assert.h
index e18d373..30afabf 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -5,3 +5,6 @@ extern void __assert_fail_internal (__const char *__assertion,
unsigned int __line,
__const char *__function)
__attribute__ ((__noreturn__)) attribute_hidden;
+#if defined SHARED && !defined NOT_IN_libc
+# define __assert_fail __assert_fail_internal
+#endif