aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/fnmatch.c2
-rw-r--r--posix/fnmatch_loop.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/posix/fnmatch.c b/posix/fnmatch.c
index 85a50ef..18abf5d 100644
--- a/posix/fnmatch.c
+++ b/posix/fnmatch.c
@@ -191,6 +191,7 @@ __wcschrnul (s, c)
# endif
# define STRCHR(S, C) strchr (S, C)
# define STRCHRNUL(S, C) __strchrnul (S, C)
+# define STRCOLL(S1, S2) strcoll (S1, S2)
# include "fnmatch_loop.c"
@@ -208,6 +209,7 @@ __wcschrnul (s, c)
# define BTOWC(C) (C)
# define STRCHR(S, C) wcschr (S, C)
# define STRCHRNUL(S, C) __wcschrnul (S, C)
+# define STRCOLL(S1, S2) wcscoll (S1, S2)
# undef IS_CHAR_CLASS
# ifdef _LIBC
diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c
index bfcdde6..2928037 100644
--- a/posix/fnmatch_loop.c
+++ b/posix/fnmatch_loop.c
@@ -346,5 +346,6 @@ FCT (pattern, string, no_leading_period, flags)
#undef FCT
#undef STRCHR
#undef STRCHRNUL
+#undef STRCOLL
#undef L
#undef BTOWC