summaryrefslogtreecommitdiff
path: root/wcsmbs/wcscoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcscoll.c')
-rw-r--r--wcsmbs/wcscoll.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/wcsmbs/wcscoll.c b/wcsmbs/wcscoll.c
index ba4adf00c4..9b1a8a4d38 100644
--- a/wcsmbs/wcscoll.c
+++ b/wcsmbs/wcscoll.c
@@ -21,7 +21,11 @@
#define STRING_TYPE wchar_t
#define USTRING_TYPE wint_t
-#define STRCOLL wcscoll
+#ifdef USE_IN_EXTENDED_LOCALE_MODEL
+# define STRCOLL __wcscoll_l
+#else
+# define STRCOLL wcscoll
+#endif
#define STRCMP wcscmp
#include "../string/strcoll.c"