From: Michael Elkins Date: Wed, 15 Sep 2010 18:47:39 +0000 (-0700) Subject: fix compile error with --with-regex and --without-wc-funcs X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7efb158c90d5fffce4f1189199fe74ae4f160ac1;p=mutt fix compile error with --with-regex and --without-wc-funcs --- diff --git a/regex.c b/regex.c index e766f1c2..e68fb6ac 100644 --- a/regex.c +++ b/regex.c @@ -2217,7 +2217,7 @@ regex_compile (pattern, size, syntax, bufp) the leading `:' and `[' (but set bits for them). */ if (c == ':' && *p == ']') { -#if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H) +#if defined _LIBC || (defined HAVE_WC_FUNCS && defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H) boolean is_lower = STREQ (str, "lower"); boolean is_upper = STREQ (str, "upper"); wctype_t wt;