projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[gnulib.git]
/
lib
/
fnmatch_loop.c
diff --git
a/lib/fnmatch_loop.c
b/lib/fnmatch_loop.c
index
e7b0a91
..
e3450b6
100644
(file)
--- a/
lib/fnmatch_loop.c
+++ b/
lib/fnmatch_loop.c
@@
-248,7
+248,7
@@
FCT (pattern, string, string_end, no_leading_period, flags)
/* Leave room for the null. */
CHAR str[CHAR_CLASS_MAX_LENGTH + 1];
size_t c1 = 0;
/* Leave room for the null. */
CHAR str[CHAR_CLASS_MAX_LENGTH + 1];
size_t c1 = 0;
-#if defined _LIBC ||
(defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)
+#if defined _LIBC ||
WIDE_CHAR_SUPPORT
wctype_t wt;
#endif
const CHAR *startp = p;
wctype_t wt;
#endif
const CHAR *startp = p;
@@
-278,7
+278,7
@@
FCT (pattern, string, string_end, no_leading_period, flags)
}
str[c1] = L('\0');
}
str[c1] = L('\0');
-#if defined _LIBC ||
(defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)
+#if defined _LIBC ||
WIDE_CHAR_SUPPORT
wt = IS_CHAR_CLASS (str);
if (wt == 0)
/* Invalid character class name. */
wt = IS_CHAR_CLASS (str);
if (wt == 0)
/* Invalid character class name. */