2013-04-10 Bin Cheng <bin.cheng@arm.com>

* acconfig.h (_FSEEK_OPTIMIZATION): Undef
        * newlib.hin (_FSEEK_OPTIMIZATION): Undef
        * configure.in (--disable-newlib-fseek-optimization): New option.
        * configure: Regenerated.
        * libc/stdio/fflush.c (__sflush_r): Use _FSEEK_OPTIMIZATION to
        control fseek optimization.
        * libc/stdio/fseeko.c (_fseeko_r): Ditto.
        * libc/stdio/makebuf.c (__smakebuf_r): Ditto.
        * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
This commit is contained in:
Jeff Johnston
2013-04-10 18:47:46 +00:00
parent b49dae4a44
commit 602cec7f1e
9 changed files with 70 additions and 2 deletions

View File

@@ -58,6 +58,9 @@
/* Define if ivo supported in streamio. */
#undef _FVWRITE_IN_STREAMIO
/* Define if fseek functions support seek optimization. */
#undef _FSEEK_OPTIMIZATION
@BOTTOM@
/*
* Iconv encodings enabled ("to" direction)