]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
This patch is not upstream. It is useful and non-invasive. It allows some
authorRyan Arnold <ryanarn@etna.rchland.ibm.com>
Tue, 11 May 2010 14:48:21 +0000 (09:48 -0500)
committerLuis Machado <luisgpm@br.ibm.com>
Fri, 5 Nov 2010 16:24:07 +0000 (14:24 -0200)
recent versions of GCC to compile GLIBC when altivec is configured.

2009-11-06  Petr Baudis <pasky@suse.cz>

* include/sys/uio.h: Change __vector to __iovec to avoid clash
with altivec.
(cherry picked from commit bcb75669959f740e04208b773e99d87c5342dc34)

ChangeLog
include/sys/uio.h

index 93f6ed4ec90b6549ea3fa56501076ecaedfd210e..b46ff5c7fc379be679dd7aa2c891f335d70be77a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-06  Petr Baudis <pasky@suse.cz>
+
+       * include/sys/uio.h: Change __vector to __iovec to avoid clash
+       with altivec.
+
 2010-10-26  Ryan S. Arnold  <rsa@us.ibm.com>
 
        * config.h.in: Added HAVE_PPC64_PT_GNU_STACK which is set during a
index 8c2b0167c18292fc05f574e8e8b3f3b2a155a5e5..bfaec5997e1644ef54c72cd7371fbb6e6a2742ce 100644 (file)
@@ -2,12 +2,12 @@
 #include <misc/sys/uio.h>
 
 /* 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);
-extern ssize_t __libc_readv (int __fd, __const struct iovec *__vector,
+extern ssize_t __libc_readv (int __fd, __const struct iovec *__iovec,
                             int __count);
-extern ssize_t __writev (int __fd, __const struct iovec *__vector,
+extern ssize_t __writev (int __fd, __const struct iovec *__iovec,
                         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);
 #endif