Resolve __vector namespace conflict with Altivec.

This commit is contained in:
Petr Baudis 2012-04-17 08:33:41 -05:00 committed by Ryan S. Arnold
parent 750b5926bc
commit 0396e69dbe
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2012-04-17 Petr Baudis <pasky@ucw.cz>
* include/sys/uio.h: Change __vector to __iovec to avoid clash
with altivec.
2012-04-16 Marek Polacek <polacek@redhat.com> 2012-04-16 Marek Polacek <polacek@redhat.com>
* elf/pldd-xx.c: Rename static_assert to pldd_assert. * elf/pldd-xx.c: Rename static_assert to pldd_assert.

View File

@ -3,13 +3,13 @@
#ifndef _ISOMAC #ifndef _ISOMAC
/* Now define the internal interfaces. */ /* Now define the internal interfaces. */
extern ssize_t __readv (int __fd, const struct iovec *__vector, extern ssize_t __readv (int __fd, const struct iovec *__iovec,
int __count); int __count);
extern ssize_t __libc_readv (int __fd, const struct iovec *__vector, extern ssize_t __libc_readv (int __fd, const struct iovec *__iovec,
int __count); int __count);
extern ssize_t __writev (int __fd, const struct iovec *__vector, extern ssize_t __writev (int __fd, const struct iovec *__iovec,
int __count); int __count);
extern ssize_t __libc_writev (int __fd, const struct iovec *__vector, extern ssize_t __libc_writev (int __fd, const struct iovec *__iovec,
int __count); int __count);
#endif #endif
#endif #endif