Enabled _CS* defines for RTEMS

Signed-off-by: Eshan dhawan <eshandhawan51@gmail.com>
This commit is contained in:
Eshan dhawan via Newlib 2020-08-24 20:13:12 +05:30 committed by Corinna Vinschen
parent c2d6e6f7f6
commit 39f057e2aa

View File

@ -533,7 +533,8 @@ int unlinkat (int, const char *, int);
* confstr values per IEEE Std 1003.1, 2004 Edition
*/
#ifdef __CYGWIN__ /* Only defined on Cygwin for now. */
/* Only defined on Cygwin and RTEMS for now. */
#if defined (__CYGWIN__) || defined(__rtems__)
#define _CS_PATH 0
#define _CS_POSIX_V7_ILP32_OFF32_CFLAGS 1
#define _CS_POSIX_V6_ILP32_OFF32_CFLAGS _CS_POSIX_V7_ILP32_OFF32_CFLAGS