svn commit: trunk/uClibc/libc/sysdeps/linux/common
vapier at uclibc.org
vapier at uclibc.org
Wed Jan 4 00:43:27 UTC 2006
Author: vapier
Date: 2006-01-03 16:43:25 -0800 (Tue, 03 Jan 2006)
New Revision: 13064
Log:
if arch doesnt provide _syscall6(), we need to alias the 64bit version
Modified:
trunk/uClibc/libc/sysdeps/linux/common/posix_fadvise.c
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/posix_fadvise.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/posix_fadvise.c 2006-01-04 00:13:22 UTC (rev 13063)
+++ trunk/uClibc/libc/sysdeps/linux/common/posix_fadvise.c 2006-01-04 00:43:25 UTC (rev 13064)
@@ -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
More information about the uClibc-cvs
mailing list