From f882fd15b0e665bd9da3c8edb7cddcb22b1085af Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 9 Mar 2003 21:08:51 +0000 Subject: * libc/include/pwd.h: Add guards to avoid type clashes when compiling Cygwin. * libc/include/sys/stat.h: Ditto. * libc/include/sys/unistd.h: Ditto. * libc/sys/cygwin/sys/dirent.h: Ditto. --- newlib/libc/include/sys/stat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 0834bc973..5fd75e2be 100644 --- a/newlib/libc/include/sys/stat.h +++ b/newlib/libc/include/sys/stat.h @@ -127,7 +127,7 @@ int _EXFUN(mkfifo,( const char *__path, mode_t __mode )); int _EXFUN(stat,( const char *__path, struct stat *__sbuf )); mode_t _EXFUN(umask,( mode_t __mask )); -#if defined(__rtems__) || defined(__CYGWIN__) +#if defined(__rtems__) || defined(__CYGWIN__) && !defined(__INSIDE_CYGWIN__) int _EXFUN(lstat,( const char *__path, struct stat *__buf )); int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev )); #endif -- cgit v1.2.3