From 630c657e6450e0315d8fb021d670925ee41d8ddc Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 23 Feb 2002 20:46:28 +0000 Subject: * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin. (_stat): Ditto. --- 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 3ef2291c8..0834bc973 100644 --- a/newlib/libc/include/sys/stat.h +++ b/newlib/libc/include/sys/stat.h @@ -134,8 +134,10 @@ int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev )); /* Provide prototypes for most of the _ names that are provided in newlib for some compilers. */ +#ifndef __INSIDE_CYGWIN__ int _EXFUN(_fstat,( int __fd, struct stat *__sbuf )); int _EXFUN(_stat,( const char *__path, struct stat *__sbuf )); +#endif #endif /* !_STAT_H_ */ #ifdef __cplusplus -- cgit v1.2.3