public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Enabled _CS* defines for RTEMS
@ 2020-08-26  8:08 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2020-08-26  8:08 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=39f057e2aaea48cfe7ce2bd8e28b5cf88fe486a0

commit 39f057e2aaea48cfe7ce2bd8e28b5cf88fe486a0
Author: Eshan dhawan via Newlib <newlib@sourceware.org>
Date:   Mon Aug 24 20:13:12 2020 +0530

    Enabled _CS* defines for RTEMS
    
    Signed-off-by: Eshan dhawan <eshandhawan51@gmail.com>

Diff:
---
 newlib/libc/include/sys/unistd.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index 5386bd49d..6aa5c5298 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-26  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-26  8:08 [newlib-cygwin] Enabled _CS* defines for RTEMS Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).