From 409c27f83478e2962c446be23e104a97b3f5f2e0 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 27 Mar 2013 09:38:39 +0000 Subject: * acconfig.h (_FVWRITE_IN_STREAMIO): Undefine. * newlib.hin (_FVWRITE_IN_STREAMIO): Undefine. * configure.in (--disable-newlib-fvwrite-in-streamio): New option. * configure: Regenerated. * libc/stdio/fputs.c (_fputs_r): Use _FVWRITE_IN_STREAMIO to control __sfvwrite_r. Add alternative implementation. * libc/stdio/fputws.c (_fputws_r): Ditto. * libc/stdio/fwrite.c (_fwrite_r): Ditto. * libc/stdio/puts.c (_puts_r): Ditto. * libc/stdio/vfprintf.c (__ssputs_r, __sfputs_r): New function. (_VFPRINTF_R): Use _FVWRITE_IN_STREAMIO to control vector buffer. (__SPRINT): Use _FVWRITE_IN_STREAMIO to control macro definition. * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Use _FVWRITE_IN_STREAMIO to control vector buffer. --- newlib/newlib.hin | 3 +++ 1 file changed, 3 insertions(+) (limited to 'newlib/newlib.hin') diff --git a/newlib/newlib.hin b/newlib/newlib.hin index 3c5338685..74218c73e 100644 --- a/newlib/newlib.hin +++ b/newlib/newlib.hin @@ -57,6 +57,9 @@ /* True if long double supported and it is equal to double. */ #undef _LDBL_EQ_DBL + +/* Define if ivo supported in streamio. */ +#undef _FVWRITE_IN_STREAMIO /* * Iconv encodings enabled ("to" direction) -- cgit v1.2.3