summaryrefslogtreecommitdiff
path: root/posix/fnmatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/fnmatch.c')
-rw-r--r--posix/fnmatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/fnmatch.c b/posix/fnmatch.c
index a707847dcc..7480ec7f00 100644
--- a/posix/fnmatch.c
+++ b/posix/fnmatch.c
@@ -229,7 +229,7 @@ __wcschrnul (s, c)
# if HANDLE_MULTIBYTE
/* Note that this evaluates C many times. */
# ifdef _LIBC
-# define FOLD(c) ((flags & FNM_CASEFOLD) ? towlower (c) : (c))
+# define FOLD(c) ((flags & FNM_CASEFOLD) ? __towlower (c) : (c))
# else
# define FOLD(c) ((flags & FNM_CASEFOLD) && ISUPPER (c) ? towlower (c) : (c))
# endif