summaryrefslogtreecommitdiff
path: root/libc/io
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2009-05-09 18:19:07 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2009-05-09 18:19:07 +0000
commit5acb73612fb014b5be410f3d5790bfa9d67f47b2 (patch)
treec8e2405ca0caaaa56f718995ec55d3ca0ff0d1f7 /libc/io
parent0751aa1150e8b03d0d85fee7ad9b5bfe7d214edf (diff)
Merge changes between r8410 and r8419 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@8420 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/io')
-rw-r--r--libc/io/sys/stat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/io/sys/stat.h b/libc/io/sys/stat.h
index 7d98c824b..c0b2bf9d2 100644
--- a/libc/io/sys/stat.h
+++ b/libc/io/sys/stat.h
@@ -249,9 +249,11 @@ extern int __REDIRECT_NTH (fstatat, (int __fd, __const char *__restrict __file,
# endif
# endif
+# ifdef __USE_LARGEFILE64
extern int fstatat64 (int __fd, __const char *__restrict __file,
struct stat64 *__restrict __buf, int __flag)
__THROW __nonnull ((2, 3));
+# endif
#endif
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K
@@ -516,7 +518,7 @@ __NTH (fstat64 (int __fd, struct stat64 *__statbuf))
return __fxstat64 (_STAT_VER, __fd, __statbuf);
}
-# ifdef __USE_GNU
+# ifdef __USE_ATFILE
__extern_inline int
__NTH (fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf,
int __flag))