[git commit prelink] fnmatch.c: use MB_CUR_MAX from stdlib.h included earlier
Peter S. Mazinger
ps.m at gmx.net
Wed Mar 30 11:53:36 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=cf67a3699e98c57b3a06e5dd4c7e70baa648db6a
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/prelink
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
libc/misc/fnmatch/fnmatch.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/libc/misc/fnmatch/fnmatch.c b/libc/misc/fnmatch/fnmatch.c
index 0fa043b..2874413 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)
{
--
1.7.3.4
More information about the uClibc-cvs
mailing list