aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/wmemchr.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wmemchr.c')
-rw-r--r--wcsmbs/wmemchr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wcsmbs/wmemchr.c b/wcsmbs/wmemchr.c
index 266950c84b..9e8d57bd5d 100644
--- a/wcsmbs/wmemchr.c
+++ b/wcsmbs/wmemchr.c
@@ -18,6 +18,10 @@
#include <wchar.h>
+#ifdef WMEMCHR
+# define __wmemchr WMEMCHR
+#endif
+
wchar_t *
__wmemchr (s, c, n)
const wchar_t *s;