aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/wcscspn.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcscspn.c')
-rw-r--r--wcsmbs/wcscspn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wcsmbs/wcscspn.c b/wcsmbs/wcscspn.c
index d8cc24a0fd..d735f8c86e 100644
--- a/wcsmbs/wcscspn.c
+++ b/wcsmbs/wcscspn.c
@@ -18,6 +18,9 @@
#include <wchar.h>
+#ifdef WCSCSPN
+# define wcscspn WCSCSPN
+#endif
/* Return the length of the maximum initial segment
of WCS which contains only wide-characters not in REJECT. */