diff options
author | Eshan dhawan via Newlib <newlib@sourceware.org> | 2020-08-24 20:13:12 +0530 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2020-08-25 20:54:33 +0200 |
commit | 39f057e2aaea48cfe7ce2bd8e28b5cf88fe486a0 (patch) | |
tree | 01e769cbc131ce8453d477b2daf1da3995e7e0a1 /newlib/libc/include | |
parent | c2d6e6f7f6e4cee5db023fa299d5c39d348805ca (diff) | |
download | newlib-39f057e2aaea48cfe7ce2bd8e28b5cf88fe486a0.zip newlib-39f057e2aaea48cfe7ce2bd8e28b5cf88fe486a0.tar.gz newlib-39f057e2aaea48cfe7ce2bd8e28b5cf88fe486a0.tar.bz2 |
Enabled _CS* defines for RTEMS
Signed-off-by: Eshan dhawan <eshandhawan51@gmail.com>
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 5386bd4..6aa5c52 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -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 |