1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* sysdeps/unix/sysv/linux/kernel-features.h: SH also has

preadv/pwritev.
This commit is contained in:
Ulrich Drepper
2009-04-14 18:31:03 +00:00
parent 84aa52d7e9
commit b8a3bd8256
2 changed files with 6 additions and 1 deletions

View File

@ -533,7 +533,7 @@
/* 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 __ia64__ || defined __sparc__ && defined __sh__)
# define __ASSUME_PREADV 1
# define __ASSUME_PWRITEV 1
#endif