mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
* sysdeps/unix/sysv/linux/kernel-features.h: All supported
architectures have preadv/pwritev in 2.6.30.
This commit is contained in:
parent
571ac26f69
commit
11cad88ce9
@ -1,5 +1,8 @@
|
||||
2009-04-17 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/kernel-features.h: All supported
|
||||
architectures have preadv/pwritev in 2.6.30.
|
||||
|
||||
* sysdeps/posix/preadv.c: Reading of zero bytes is no error.
|
||||
* sysdeps/posix/readv.c: Likewise.
|
||||
Reported by Markus Armbruster <armbru@redhat.com>.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user