From b4f095585f1e139cba8d2e078c807e384b3e102d Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 1 May 2007 23:03:36 +0000 Subject: * 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. --- newlib/libc/stdio/makebuf.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'newlib/libc/stdio/makebuf.c') diff --git a/newlib/libc/stdio/makebuf.c b/newlib/libc/stdio/makebuf.c index 340ea28c5..d13f162b2 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) { -- cgit v1.2.3