Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/kernel-features.h: Power also has
Browse files Browse the repository at this point in the history
	preadv/pwritev in 2.6.30.
  • Loading branch information
Ulrich Drepper committed Apr 7, 2009
1 parent c6807d3 commit 1a2ec17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2009-04-07 Ulrich Drepper <drepper@redhat.com>

* 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.
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/kernel-features.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1a2ec17

Please sign in to comment.