From 837e070f314f6b8b9e64ec9fb09dd0e0bf6226e9 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 13 May 2003 09:19:15 +0000 Subject: * libc/locale/ldpart.c (__part_load_locale): Substitute __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64. * libc/search/hash.c (__hash_open): Ditto. (init_hash): Ditto. * libc/stdio/fseek.c (fseek): Ditto. * libc/stdio/makebuf.c (__smakebuf): Ditto. * libc/stdio/mktemp.c (_gettemp): Ditto. --- newlib/libc/stdio/fseek.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'newlib/libc/stdio/fseek.c') diff --git a/newlib/libc/stdio/fseek.c b/newlib/libc/stdio/fseek.c index f37393cdc..4cd3e8c7a 100644 --- a/newlib/libc/stdio/fseek.c +++ b/newlib/libc/stdio/fseek.c @@ -198,7 +198,7 @@ fseek (fp, offset, whence) { if (seekfn != __sseek || fp->_file < 0 -#ifdef __CYGWIN_USE_BIG_TYPES__ +#ifdef __USE_INTERNAL_STAT64 || _fstat64_r (ptr, fp->_file, &st) #else || _fstat_r (ptr, fp->_file, &st) @@ -225,7 +225,7 @@ fseek (fp, offset, whence) target = offset; else { -#ifdef __CYGWIN_USE_BIG_TYPES__ +#ifdef __USE_INTERNAL_STAT64 if (_fstat64_r (ptr, fp->_file, &st)) #else if (_fstat_r (ptr, fp->_file, &st)) -- cgit v1.2.3