aboutsummaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-10-14 07:57:14 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-12-06 05:47:00 -0600
commit1c62e6d960d7c09497fb8ce5936bb84564fa9b30 (patch)
treee78cfcf6860eb433c5e5a6b48e055cf77155fdf1 /string
parent87da8bdbe1a2c3410b9cef027d88e5028e3c0111 (diff)
downloadglibc-1c62e6d960d7c09497fb8ce5936bb84564fa9b30.zip
glibc-1c62e6d960d7c09497fb8ce5936bb84564fa9b30.tar.gz
glibc-1c62e6d960d7c09497fb8ce5936bb84564fa9b30.tar.bz2
PowerPC: multiarch memchr for PowerPC32
Diffstat (limited to 'string')
-rw-r--r--string/memchr.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/string/memchr.c b/string/memchr.c
index 2427c4b..7a09de8 100644
--- a/string/memchr.c
+++ b/string/memchr.c
@@ -51,9 +51,13 @@
#undef memchr
#undef __memchr
+#ifndef MEMCHR
+# define MEMCHR __memchr
+#endif
+
/* Search no more than N bytes of S for C. */
__ptr_t
-__memchr (s, c_in, n)
+MEMCHR (s, c_in, n)
const __ptr_t s;
int c_in;
size_t n;