diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-08-26 18:09:43 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-08-26 18:09:43 +0000 |
commit | 0eca075074ec5463cf9b5a0ebe52073886cb5b89 (patch) | |
tree | b24e9e5543555223e6f2d941b045f107cd497d1b /newlib/libc/include/stdio.h | |
parent | 1ce25e2add550674056f27ef33c4849f73ccb5a8 (diff) | |
download | cygnal-0eca075074ec5463cf9b5a0ebe52073886cb5b89.tar.gz cygnal-0eca075074ec5463cf9b5a0ebe52073886cb5b89.tar.bz2 cygnal-0eca075074ec5463cf9b5a0ebe52073886cb5b89.zip |
2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h: Allow the io64 function prototypes for
Cygwin when compiling newlib.
* libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
to expose the Cygwin struct __stat64 type.
* libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
pointer.
* libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
Diffstat (limited to 'newlib/libc/include/stdio.h')
-rw-r--r-- | newlib/libc/include/stdio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h index 5f22dfc1b..f1ee3ee4f 100644 --- a/newlib/libc/include/stdio.h +++ b/newlib/libc/include/stdio.h @@ -308,7 +308,7 @@ ssize_t _EXFUN(__getdelim, (char **, size_t *, int, FILE *)); ssize_t _EXFUN(__getline, (char **, size_t *, FILE *)); #ifdef __LARGE64_FILES -#ifndef __CYGWIN__ +#if !defined(__CYGWIN__) || defined(_COMPILING_NEWLIB) FILE * _EXFUN(fdopen64, (int, const char *)); FILE * _EXFUN(fopen64, (const char *, const char *)); _off64_t _EXFUN(ftello64, (FILE *)); |