From 78970a51f33f72488632d423a65f566e999f8aa5 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 26 Apr 2008 07:49:39 +0000 Subject: * libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__. (fstatat): Fix type of third parameter. --- newlib/libc/include/sys/stat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 8b8aa6563..06a71a978 100644 --- a/newlib/libc/include/sys/stat.h +++ b/newlib/libc/include/sys/stat.h @@ -134,9 +134,9 @@ int _EXFUN(lstat,( const char *__path, struct stat *__buf )); int _EXFUN(mknod,( const char *__path, mode_t __mode, dev_t __dev )); #endif -#if defined (__CYGWIN__) +#if defined (__CYGWIN__) && !defined(__INSIDE_CYGWIN__) int _EXFUN(fchmodat, (int, const char *, mode_t, int)); -int _EXFUN(fstatat, (int, const char *, struct __stat64 *, int)); +int _EXFUN(fstatat, (int, const char *, struct stat *, int)); int _EXFUN(mkdirat, (int, const char *, mode_t)); int _EXFUN(mkfifoat, (int, const char *, mode_t)); int _EXFUN(mknodat, (int, const char *, mode_t, dev_t)); -- cgit v1.2.3