diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-04 00:43:25 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-04 00:43:25 +0000 |
commit | bfc0df1617becca4888799853eae8beab6ccae5a (patch) | |
tree | e6a26c1eab2021e5d3a6cf6b5fec36c238d8c6e8 /libc/sysdeps/linux | |
parent | 99ad3e74e6db372ddf5e698079ab392d0decee0e (diff) |
if arch doesnt provide _syscall6(), we need to alias the 64bit version
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/common/posix_fadvise.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/posix_fadvise.c b/libc/sysdeps/linux/common/posix_fadvise.c index 70fd41ddd..8ca973e86 100644 --- a/libc/sysdeps/linux/common/posix_fadvise.c +++ b/libc/sysdeps/linux/common/posix_fadvise.c @@ -20,7 +20,7 @@ _syscall4(int, posix_fadvise, int, fd, off_t, offset, off_t, len, int, advice); -#if defined __UCLIBC_HAS_LFS__ && !defined __NR_fadvise64_64 +#if defined __UCLIBC_HAS_LFS__ && (!defined __NR_fadvise64_64 || !defined _syscall6) weak_alias(posix_fadvise, posix_fadvise64) #endif |