From: Brendan Cully Date: Thu, 15 Mar 2007 05:29:41 +0000 (-0700) Subject: Undefine mbyte macros before overriding them (#2820) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=464e5f25dd85c5c528a4fb78fc4d0b6359cddf81;p=neomutt Undefine mbyte macros before overriding them (#2820) --- diff --git a/mbyte.h b/mbyte.h index dc5ed9999..a9a97a201 100644 --- a/mbyte.h +++ b/mbyte.h @@ -11,6 +11,15 @@ # endif # ifndef HAVE_WC_FUNCS +#ifdef iswprint +# undef iswprint +#endif +#ifdef iswspace +# undef iswspace +#endif +#ifdef iswalnum +# undef iswalnum +#endif size_t wcrtomb (char *s, wchar_t wc, mbstate_t *ps); size_t mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps); int iswprint (wint_t wc);