diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-04-26 11:49:39 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-04-26 11:49:39 +0400 |
commit | 78970a51f33f72488632d423a65f566e999f8aa5 (patch) | |
tree | 61fe0f4ae512035ac76d4cd3c0458d363f140023 /newlib/libc/include | |
parent | 1d198686dafd4fdf6dfbf5609607d72a17fc546b (diff) |
* libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
(fstatat): Fix type of third parameter.
Diffstat (limited to 'newlib/libc/include')
-rw-r--r-- | newlib/libc/include/sys/stat.h | 4 |
1 files changed, 2 insertions, 2 deletions
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)); |