Explorar el Código

fnmatch.c: use MB_CUR_MAX from stdlib.h included earlier

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Peter S. Mazinger hace 13 años
padre
commit
cf67a3699e
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      libc/misc/fnmatch/fnmatch.c

+ 0 - 5
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)
 {