public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Enable _REENT_GLOBAL_STDIO_STREAMS for RTEMS
@ 2017-06-30 5:47 Sebastian Huber
0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2017-06-30 5:47 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=d2e256a36a877fca17272c2e4640d967ea8c490f
commit d2e256a36a877fca17272c2e4640d967ea8c490f
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date: Thu Jun 29 08:17:04 2017 +0200
Enable _REENT_GLOBAL_STDIO_STREAMS for RTEMS
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diff:
---
newlib/libc/include/sys/config.h | 1 +
newlib/libc/stdio/local.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index 555239f..ae8caff 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -238,6 +238,7 @@
#define _READ_WRITE_RETURN_TYPE _ssize_t
#define __DYNAMIC_REENT__
#define _REENT_GLOBAL_ATEXIT
+#define _REENT_GLOBAL_STDIO_STREAMS
#endif
#ifndef __EXPORT
diff --git a/newlib/libc/stdio/local.h b/newlib/libc/stdio/local.h
index 5f69955..511e5e3 100644
--- a/newlib/libc/stdio/local.h
+++ b/newlib/libc/stdio/local.h
@@ -38,7 +38,7 @@
case _STDIO_CLOSE_PER_REENT_STD_STREAMS is defined these file descriptors
will be closed via close() provided the owner of the reent structure
triggerd the on demand reent initilization, see CHECK_INIT(). */
-#if !defined(__rtems__) && !defined(__tirtos__)
+#if !defined(__tirtos__)
#define _STDIO_CLOSE_PER_REENT_STD_STREAMS
#endif
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-30 5:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-30 5:47 [newlib-cygwin] Enable _REENT_GLOBAL_STDIO_STREAMS for RTEMS Sebastian Huber
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).