From 54c1d7ea18016920bfdcf90514e097ab6b8bc466 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 26 Aug 2003 20:54:04 +0000 Subject: 2003-08-26 Jeff Johnston * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as __stat64 when compiling newlib. --- newlib/libc/include/sys/stat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'newlib/libc/include/sys/stat.h') 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 +#ifdef _COMPILING_NEWLIB #define stat64 __stat64 +#endif #else struct stat { -- cgit v1.2.3