From 826b5591dd604ef68abadff7c8cb7c19e221b9af Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 15 Mar 2007 21:32:13 +0000 Subject: 2007-03-15 Jeff Johnston * 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. --- newlib/newlib.hin | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'newlib/newlib.hin') diff --git a/newlib/newlib.hin b/newlib/newlib.hin index 207192897..bb09f9970 100644 --- a/newlib/newlib.hin +++ b/newlib/newlib.hin @@ -1,4 +1,4 @@ -/* newlib.hin. Generated automatically from configure.in by autoheader. */ +/* newlib.hin. Generated from configure.in by autoheader. */ #ifndef __NEWLIB_H__ #define __NEWLIB_H__ 1 @@ -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 @@ -40,6 +44,7 @@ /* Define if the compiler supports aliasing an array to an address. */ #undef _HAVE_ARRAY_ALIASING + /* * Iconv encodings enabled ("to" direction) */ -- cgit v1.2.3