diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-03-11 17:27:01 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-03-11 17:27:01 +0000 |
commit | d0b800178dfa6cd6f0e350ae2d69c7e4eac51176 (patch) | |
tree | a4fe4034dc95c9b69c632b5a7f517632c100cefb | |
parent | Check for __assert(). (diff) | |
download | rtems-d0b800178dfa6cd6f0e350ae2d69c7e4eac51176.tar.bz2 |
Conditionally build __assert().
-rw-r--r-- | cpukit/libcsupport/src/__assert.c | 2 |
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 |