summaryrefslogtreecommitdiff
path: root/libc/misc/fnmatch
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-09 15:06:17 +0100
committerPeter S. Mazinger <ps.m@gmx.net>2011-03-09 15:06:17 +0100
commitcf67a3699e98c57b3a06e5dd4c7e70baa648db6a (patch)
tree8cdadc127ad8007c7dd9668229996574ec494244 /libc/misc/fnmatch
parentd57b631e82529b2c880f5d7e4fbcd88042803f80 (diff)
fnmatch.c: use MB_CUR_MAX from stdlib.h included earlier
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'libc/misc/fnmatch')
-rw-r--r--libc/misc/fnmatch/fnmatch.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libc/misc/fnmatch/fnmatch.c b/libc/misc/fnmatch/fnmatch.c
index 0fa043bad..2874413ec 100644
--- a/libc/misc/fnmatch/fnmatch.c
+++ b/libc/misc/fnmatch/fnmatch.c
@@ -334,11 +334,6 @@ is_char_class (const wchar_t *wcs)
# include "fnmatch_loop.c"
# endif
-#ifndef __UCLIBC_HAS_WCHAR__
-# undef MB_CUR_MAX
-# define MB_CUR_MAX 1
-#endif
-
int
fnmatch (const char *pattern, const char *string, int flags)
{