summaryrefslogtreecommitdiffstats
path: root/newlib/acconfig.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2007-03-15 21:32:13 +0000
committerJeff Johnston <jjohnstn@redhat.com>2007-03-15 21:32:13 +0000
commit826b5591dd604ef68abadff7c8cb7c19e221b9af (patch)
tree1d1cd77cbe1ec91d5bc33e3879db3efdddbfc8c4 /newlib/acconfig.h
parent14ba5e14d9226cb4dd1b2a72781ee02e9f2bf8a2 (diff)
downloadcygnal-826b5591dd604ef68abadff7c8cb7c19e221b9af.tar.gz
cygnal-826b5591dd604ef68abadff7c8cb7c19e221b9af.tar.bz2
cygnal-826b5591dd604ef68abadff7c8cb7c19e221b9af.zip
2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
* configure.in: Add new --enable-newlib-reent-small option. * configure: Regenerated. * acconfig.h: Add _WANT_REENT_SMALL. * newlib.hin: Regenerated minus PACKAGE macros to add _WANT_REENT_SMALL macro. * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL if not already set. * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if there is no buffer. * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to use reentrant pointer passed in when resetting the file pointer to one of the std streams.
Diffstat (limited to 'newlib/acconfig.h')
-rw-r--r--newlib/acconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/acconfig.h b/newlib/acconfig.h
index 86f484ec4..d8b7dc774 100644
--- a/newlib/acconfig.h
+++ b/newlib/acconfig.h
@@ -18,6 +18,10 @@
/* Positional argument support in printf functions enabled. */
#undef _WANT_IO_POS_ARGS
+/* Optional reentrant struct support. Used mostly on platforms with
+ very restricted storage. */
+#undef _WANT_REENT_SMALL
+
/* Multibyte supported */
#undef _MB_CAPABLE