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