diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-05-07 17:42:24 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-05-07 17:42:24 +0000 |
commit | 1765abb3093df210e30b4d06dd42c3a50c13a31a (patch) | |
tree | 31eb7ab25b7022573bb5b13a5dd7cd25cb91c736 /io/sys | |
parent | 115a53273470d80fd7f753c6f2cc318782d5c43b (diff) | |
download | glibc-1765abb3093df210e30b4d06dd42c3a50c13a31a.tar.gz glibc-1765abb3093df210e30b4d06dd42c3a50c13a31a.tar.xz glibc-1765abb3093df210e30b4d06dd42c3a50c13a31a.zip |
* io/sys/stat.h (fstatat64): Guard prototype with __USE_LARGEFILE64,
guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
Diffstat (limited to 'io/sys')
-rw-r--r-- | io/sys/stat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h index 7d769052a1..c21801d6a9 100644 --- a/io/sys/stat.h +++ b/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)) |