about summary refs log tree commit diff
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 85a50efbd8..18abf5da27 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 bfcdde6005..2928037cab 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