aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/makebuf.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2007-05-01 23:03:36 +0000
committerEric Blake <eblake@redhat.com>2007-05-01 23:03:36 +0000
commitb4f095585f1e139cba8d2e078c807e384b3e102d (patch)
treee7ee261d556586898030b9ac5252c6a2ab3d5c1d /newlib/libc/stdio/makebuf.c
parent2babeb3d94cb8a507ca12b46252995b453600290 (diff)
downloadnewlib-b4f095585f1e139cba8d2e078c807e384b3e102d.zip
newlib-b4f095585f1e139cba8d2e078c807e384b3e102d.tar.gz
newlib-b4f095585f1e139cba8d2e078c807e384b3e102d.tar.bz2
* libc/stdio64/local64.h: Delete, move contents to...
* libc/stdio/local.h: ...here. * libc/stdio64/fdopen64.c: Update includes. * libc/stdio64/fopen64.c: Likewise. * libc/stdio64/freopen64.c: Likewise. * libc/stdio64/fseeko64.c: Likewise. * libc/stdio64/ftello64.c: Likewise. * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout, and stderr with 64-bit offset. * libc/stdio/fseek.c (_fseek_r): Avoid compile warning. * libc/stdio/makebuf.c (__smakebuf_r): Likewise. * libc/stdio/mktemp.c (_gettemp): Likewise.
Diffstat (limited to 'newlib/libc/stdio/makebuf.c')
-rw-r--r--newlib/libc/stdio/makebuf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/stdio/makebuf.c b/newlib/libc/stdio/makebuf.c
index 340ea28..d13f162 100644
--- a/newlib/libc/stdio/makebuf.c
+++ b/newlib/libc/stdio/makebuf.c
@@ -41,7 +41,11 @@ _DEFUN(__smakebuf_r, (ptr, fp),
{
register size_t size, couldbetty;
register _PTR p;
+#ifdef __USE_INTERNAL_STAT64
+ struct stat64 st;
+#else
struct stat st;
+#endif
if (fp->_flags & __SNBF)
{