mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also
have preadv/pwritev in 2.6.30.
This commit is contained in:
@ -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>
|
2009-04-08 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* malloc/malloc.c (malloc_info): New function.
|
* malloc/malloc.c (malloc_info): New function.
|
||||||
|
@ -532,7 +532,8 @@
|
|||||||
|
|
||||||
/* Support for preadv and pwritev was added in 2.6.30. */
|
/* Support for preadv and pwritev was added in 2.6.30. */
|
||||||
#if __LINUX_KERNEL_VERSION >= 0x02061e \
|
#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_PREADV 1
|
||||||
# define __ASSUME_PWRITEV 1
|
# define __ASSUME_PWRITEV 1
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user