From 1a2ec17ba6dc3826855e3ad0897a87067bcdfcab Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 7 Apr 2009 17:38:50 +0000 Subject: * sysdeps/unix/sysv/linux/kernel-features.h: Power also has preadv/pwritev in 2.6.30. --- ChangeLog | 3 +++ sysdeps/unix/sysv/linux/kernel-features.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 95e457a12b..bf0dc7c22f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2009-04-07 Ulrich Drepper + * sysdeps/unix/sysv/linux/kernel-features.h: Power also has + preadv/pwritev in 2.6.30. + * resolv/res_hconf.c (_res_hconf_trim_domain): Use strcasecmp instead of __strcasecmp. * resolv/nss_dns/dns-host.c (getanswer_r): Likewise. diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index a640765b5c..5f1ffdb9c5 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -532,7 +532,7 @@ /* Support for preadv and pwritev was added in 2.6.30. */ #if __LINUX_KERNEL_VERSION >= 0x02061e \ - && (defined __i386__ || defined __x86_64__) + && (defined __i386__ || defined __x86_64__ || defined __powerpc__) # define __ASSUME_PREADV 1 # define __ASSUME_PWRITEV 1 #endif -- cgit 1.4.1