* acconfig.h (_WCHAR_ORIENT): Undef

* newlib.hin (_WCHAR_ORIENT): Undef
	* configure.in (--enable-newlib-wchar-orient): New option.
	* configure: Regenerated.
	* libc/configure.in (--enable-newlib-wchar-orient): New option.
	* libc/configure: Regenerated.
	* libc/stdio/Makefile.am (NEWLIB_WIDE_ORIENT): Use.
	* libc/stdio/Makefile.in: Regenerated.
	* libc/stdio/local.h (ORIENT): Use _WCHAR_ORIENT to control
	the definition. Add alternative definition.
	* libc/stdio/vfprintf.c (__sfputs_r, __sprint_r): Use _WCHAR_ORIENT
	to control the wide char output.
This commit is contained in:
Corinna Vinschen
2013-04-12 12:05:31 +00:00
parent 492ee4ee4b
commit f7a4b388b0
11 changed files with 284 additions and 133 deletions

View File

@@ -61,6 +61,9 @@
/* Define if fseek functions support seek optimization. */
#undef _FSEEK_OPTIMIZATION
/* Define if wide char orientation is supported. */
#undef _WIDE_ORIENT
@BOTTOM@
/*
* Iconv encodings enabled ("to" direction)