diff options
Diffstat (limited to 'newlib/libc/stdio64/freopen64.c')
-rw-r--r-- | newlib/libc/stdio64/freopen64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/stdio64/freopen64.c b/newlib/libc/stdio64/freopen64.c index 53b8e3e..1828b06 100644 --- a/newlib/libc/stdio64/freopen64.c +++ b/newlib/libc/stdio64/freopen64.c @@ -1,5 +1,3 @@ -#ifdef __LARGE64_FILES - /* * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. @@ -68,6 +66,8 @@ Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>, * Re-direct an existing, open (probably) file to some other file. */ +#ifdef __LARGE64_FILES + FILE * _DEFUN (freopen64, (file, mode, fp), _CONST char *file _AND @@ -160,7 +160,7 @@ _DEFUN (freopen64, (file, mode, fp), fp->_flags |= __SCLE; #endif - fp->flags |= __SL64; + fp->_flags |= __SL64; _funlockfile(fp); return fp; |