summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/makebuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/makebuf.c')
-rw-r--r--newlib/libc/stdio/makebuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/makebuf.c b/newlib/libc/stdio/makebuf.c
index afb1e2d82..b18fb1c47 100644
--- a/newlib/libc/stdio/makebuf.c
+++ b/newlib/libc/stdio/makebuf.c
@@ -47,7 +47,7 @@ __smakebuf (fp)
fp->_bf._size = 1;
return;
}
-#ifdef __CYGWIN_USE_BIG_TYPES__
+#ifdef __USE_INTERNAL_STAT64
if (fp->_file < 0 || _fstat64_r (fp->_data, fp->_file, &st) < 0)
#else
if (fp->_file < 0 || _fstat_r (fp->_data, fp->_file, &st) < 0)