cpukit: Change _COMPILING_NEWLIB to _LIBC for helper functions decls

Updates #4662
This commit is contained in:
Chris Johns
2022-06-14 11:21:46 +10:00
parent 5262b9c2ab
commit 0cf0914efe
3 changed files with 5 additions and 5 deletions

View File

@@ -41,7 +41,7 @@
/*
* Needed to get the prototype for the newlib helper method
*/
#define _COMPILING_NEWLIB
#define _LIBC
#include <sys/time.h>
#include <reent.h>

View File

@@ -38,9 +38,9 @@
#endif
/*
* Needed to get the prototype for this newlib helper method
* Needed to get the prototype for this libc helper method
*/
#define _COMPILING_NEWLIB
#define _LIBC
#include <rtems.h>

View File

@@ -43,9 +43,9 @@
#endif
/*
* Needed to get the prototype for this newlib helper method
* Needed to get the prototype for this libc helper method
*/
#define _COMPILING_NEWLIB
#define _LIBC
#include <errno.h>
#include <rtems/seterr.h>