mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/__assert.c: Rework autoconf defines.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
2009-09-30 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libcsupport/src/__assert.c: Rework autoconf defines.
|
||||
* libcsupport/src/__brk.c: Eliminate RTEMS_UNIX.
|
||||
Remove unused includes.
|
||||
* libcsupport/src/getgroups.c: Remove unused includes.
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <rtems/bspIo.h>
|
||||
#include <rtems.h>
|
||||
|
||||
|
||||
#if defined(RTEMS_NEWLIB) && !defined(HAVE___ASSERT_FUNC)
|
||||
/*
|
||||
* Newlib 1.16.0 added this method. Together these provide an
|
||||
* RTEMS safe, low memory implementation.
|
||||
@@ -38,8 +38,9 @@ void __assert_func(
|
||||
);
|
||||
rtems_fatal_error_occurred(0);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef HAVE___ASSERT
|
||||
#if defined(RTEMS_NEWLIB) && !defined(HAVE___ASSERT)
|
||||
void __assert(
|
||||
const char *file,
|
||||
int line,
|
||||
|
||||
Reference in New Issue
Block a user