about summary refs log tree commit diff
path: root/string/rawmemchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/rawmemchr.c')
-rw-r--r--string/rawmemchr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/string/rawmemchr.c b/string/rawmemchr.c
index 30fbe87614..7702ecf047 100644
--- a/string/rawmemchr.c
+++ b/string/rawmemchr.c
@@ -47,10 +47,13 @@
 
 #undef memchr
 
+#ifndef RAWMEMCHR
+# define RAWMEMCHR __rawmemchr
+#endif
 
 /* Find the first occurrence of C in S.  */
 __ptr_t
-__rawmemchr (s, c_in)
+RAWMEMCHR (s, c_in)
      const __ptr_t s;
      int c_in;
 {