From 8b4ea36813bea093d06e29a99d4ff949bffd21ad Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 18 Apr 2009 02:37:33 +0000 Subject: [PATCH] All supported architectures have preadv/pwritev in 2.6.30. --- sysdeps/unix/sysv/linux/kernel-features.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 2fa8524db9..97725e7291 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -531,9 +531,7 @@ #endif /* Support for preadv and pwritev was added in 2.6.30. */ -#if __LINUX_KERNEL_VERSION >= 0x02061e \ - && (defined __i386__ || defined __x86_64__ || defined __powerpc__ \ - || defined __ia64__ || defined __sparc__ && defined __sh__) +#if __LINUX_KERNEL_VERSION >= 0x02061e # define __ASSUME_PREADV 1 # define __ASSUME_PWRITEV 1 #endif -- 2.11.4.GIT