mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-28 12:09:26 +08:00
Rework autoconf defines.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#ifdef RTEMS_NEWLIB
|
||||
#if defined(RTEMS_NEWLIB) && !defined(HAVE__CALLOC_R)
|
||||
#include <sys/reent.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#ifdef RTEMS_NEWLIB
|
||||
#if defined(RTEMS_NEWLIB) && !defined(HAVE__REALLOC_R)
|
||||
#include <sys/reent.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ int close(
|
||||
* This is the Newlib dependent reentrant version of close().
|
||||
*/
|
||||
|
||||
#if defined(RTEMS_NEWLIB)
|
||||
#if defined(RTEMS_NEWLIB) && !defined(HAVE__CLOSE_R)
|
||||
|
||||
#include <reent.h>
|
||||
|
||||
|
||||
@@ -208,7 +208,7 @@ done:
|
||||
* This is the Newlib dependent reentrant version of open().
|
||||
*/
|
||||
|
||||
#if defined(RTEMS_NEWLIB)
|
||||
#if defined(RTEMS_NEWLIB) && !defined(HAVE__OPEN_R)
|
||||
|
||||
#include <reent.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user