summary refs log tree commit diff
path: root/wcsmbs
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-10-14 09:26:07 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-12-06 05:47:02 -0600
commitbb04e529f60df7138a4fe5f1ed016dd87ade59a3 (patch)
treed9935a924b07c525be8a0e85058c5be11f9adfe4 /wcsmbs
parent05b5cd1ce51247f986e66b90ad672e89b4b98333 (diff)
downloadglibc-bb04e529f60df7138a4fe5f1ed016dd87ade59a3.tar.gz
glibc-bb04e529f60df7138a4fe5f1ed016dd87ade59a3.tar.xz
glibc-bb04e529f60df7138a4fe5f1ed016dd87ade59a3.zip
PowerPC: multiarch wcsrchr for PowerPC32
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/wcsrchr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wcsmbs/wcsrchr.c b/wcsmbs/wcsrchr.c
index e30b851b7e..a8e7c5e73f 100644
--- a/wcsmbs/wcsrchr.c
+++ b/wcsmbs/wcsrchr.c
@@ -18,10 +18,13 @@
 
 #include <wchar.h>
 
+#ifndef WCSRCHR
+# define WCSRCHR wcsrchr
+#endif
 
 /* Find the last occurrence of WC in WCS.  */
 wchar_t *
-wcsrchr (wcs, wc)
+WCSRCHR (wcs, wc)
      const wchar_t *wcs;
      const wchar_t wc;
 {