summaryrefslogtreecommitdiff
path: root/include/assert.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-02-25 23:18:39 -0500
committerUlrich Drepper <drepper@gmail.com>2012-02-25 23:18:39 -0500
commit3134156779108fe8b46e0f4cd60d837572faaa93 (patch)
treedb3da5a5e28ad6c417c3d942b7ea62013c7b8646 /include/assert.h
parent7a270350a9bc3110cd5ba12bbd8c5c8c365e0032 (diff)
First steps to get conformtest fully working
Diffstat (limited to 'include/assert.h')
-rw-r--r--include/assert.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/assert.h b/include/assert.h
index 573eb404ec..d0d9259ab3 100644
--- a/include/assert.h
+++ b/include/assert.h
@@ -1,5 +1,6 @@
#include <assert/assert.h>
+#ifndef _ISOMAC
/* This prints an "Assertion failed" message and aborts.
In installed assert.h this is only conditionally declared,
so it has to be repeated here. */
@@ -19,7 +20,8 @@ extern void __assert_fail_base (const char *fmt, const char *assertion,
const char *function)
__THROW __attribute__ ((__noreturn__));
-#if !defined NOT_IN_libc || defined IS_IN_rtld
+# if !defined NOT_IN_libc || defined IS_IN_rtld
hidden_proto (__assert_fail)
hidden_proto (__assert_perror_fail)
+# endif
#endif