summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-03-11 17:27:01 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-03-11 17:27:01 +0000
commitd0b800178dfa6cd6f0e350ae2d69c7e4eac51176 (patch)
treea4fe4034dc95c9b69c632b5a7f517632c100cefb
parentCheck for __assert(). (diff)
downloadrtems-d0b800178dfa6cd6f0e350ae2d69c7e4eac51176.tar.bz2
Conditionally build __assert().
-rw-r--r--cpukit/libcsupport/src/__assert.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/__assert.c b/cpukit/libcsupport/src/__assert.c
index 040a76be13..7612ba44b4 100644
--- a/cpukit/libcsupport/src/__assert.c
+++ b/cpukit/libcsupport/src/__assert.c
@@ -39,6 +39,7 @@ void __assert_func(
rtems_fatal_error_occurred(0);
}
+#ifndef HAVE___ASSERT
void __assert(
const char *file,
int line,
@@ -47,3 +48,4 @@ void __assert(
{
__assert_func (file, line, NULL, failedexpr);
}
+#endif