diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-08-26 20:54:04 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-08-26 20:54:04 +0000 |
commit | 54c1d7ea18016920bfdcf90514e097ab6b8bc466 (patch) | |
tree | 10cda044701c27dab449d2eaf3bd3ac2fc4fd29f | |
parent | 0eca075074ec5463cf9b5a0ebe52073886cb5b89 (diff) | |
download | cygnal-54c1d7ea18016920bfdcf90514e097ab6b8bc466.tar.gz cygnal-54c1d7ea18016920bfdcf90514e097ab6b8bc466.tar.bz2 cygnal-54c1d7ea18016920bfdcf90514e097ab6b8bc466.zip |
2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
__stat64 when compiling newlib.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/include/sys/stat.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index b089e12d6..336696b79 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,10 @@ 2003-08-26 Jeff Johnston <jjohnstn@redhat.com> + * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as + __stat64 when compiling newlib. + +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 diff --git a/newlib/libc/include/sys/stat.h b/newlib/libc/include/sys/stat.h index 0bd951ac2..de590315b 100644 --- a/newlib/libc/include/sys/stat.h +++ b/newlib/libc/include/sys/stat.h @@ -24,7 +24,9 @@ extern "C" { #ifdef __CYGWIN__ #include <cygwin/stat.h> +#ifdef _COMPILING_NEWLIB #define stat64 __stat64 +#endif #else struct stat { |