* libc/include/reent.h: Define stat64 as __stat64 when
compiling newlib for Cygwin.
+2003-08-27 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/include/reent.h: Define stat64 as __stat64 when
+ compiling newlib for Cygwin.
+
2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
extern int _gettimeofday_r _PARAMS ((struct _reent *, struct timeval *tp, struct timezone *tzp));
#ifdef __LARGE64_FILES
+
+#if defined(__CYGWIN__) && defined(_COMPILING_NEWLIB)
+#define stat64 __stat64
+#endif
+
struct stat64;
extern _off64_t _lseek64_r _PARAMS ((struct _reent *, int, _off64_t, int));