diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2013-04-10 18:47:46 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2013-04-10 18:47:46 +0000 |
commit | 602cec7f1eb17b96525d09752fd1f0ad474e3202 (patch) | |
tree | 32e10a62bf758fcbb8951c4361a974a7066461c3 /newlib/newlib.hin | |
parent | b49dae4a4443858b2ce51daac3883ad0f1473145 (diff) | |
download | cygnal-602cec7f1eb17b96525d09752fd1f0ad474e3202.tar.gz cygnal-602cec7f1eb17b96525d09752fd1f0ad474e3202.tar.bz2 cygnal-602cec7f1eb17b96525d09752fd1f0ad474e3202.zip |
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.
Diffstat (limited to 'newlib/newlib.hin')
-rw-r--r-- | newlib/newlib.hin | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/newlib.hin b/newlib/newlib.hin index 74218c73e..f9206e916 100644 --- a/newlib/newlib.hin +++ b/newlib/newlib.hin @@ -61,6 +61,9 @@ /* Define if ivo supported in streamio. */ #undef _FVWRITE_IN_STREAMIO +/* Define if fseek functions support seek optimization. */ +#undef _FSEEK_OPTIMIZATION + /* * Iconv encodings enabled ("to" direction) */ |