about summary refs log tree commit diff
path: root/wcsmbs/wcschr.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcschr.c')
-rw-r--r--wcsmbs/wcschr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/wcsmbs/wcschr.c b/wcsmbs/wcschr.c
index 15b55d4543..1a31f74816 100644
--- a/wcsmbs/wcschr.c
+++ b/wcsmbs/wcschr.c
@@ -18,8 +18,11 @@
 
 #include <wchar.h>
 
-
 /* Find the first occurrence of WC in WCS.  */
+#ifdef WCSCHR
+# define wcschr WCSCHR
+#endif
+
 wchar_t *
 wcschr (wcs, wc)
      register const wchar_t *wcs;