* sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also

have preadv/pwritev in 2.6.30.
This commit is contained in:
Ulrich Drepper 2009-04-09 18:52:57 +00:00
parent bb06654506
commit 28b2771a4b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-04-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also
have preadv/pwritev in 2.6.30.
2009-04-08 Ulrich Drepper <drepper@redhat.com>
* malloc/malloc.c (malloc_info): New function.

View File

@ -532,7 +532,8 @@
/* Support for preadv and pwritev was added in 2.6.30. */
#if __LINUX_KERNEL_VERSION >= 0x02061e \
&& (defined __i386__ || defined __x86_64__ || defined __powerpc__)
&& (defined __i386__ || defined __x86_64__ || defined __powerpc__ \
|| defined __ia64__ || defined __sparc__)
# define __ASSUME_PREADV 1
# define __ASSUME_PWRITEV 1
#endif