]> granicus.if.org Git - neomutt/commitdiff
Undefine mbyte macros before overriding them (#2820)
authorBrendan Cully <brendan@kublai.com>
Thu, 15 Mar 2007 05:29:41 +0000 (22:29 -0700)
committerBrendan Cully <brendan@kublai.com>
Thu, 15 Mar 2007 05:29:41 +0000 (22:29 -0700)
mbyte.h

diff --git a/mbyte.h b/mbyte.h
index dc5ed999959b5f3883623f07716b8c4a4a700be6..a9a97a201dee40ef91dceb436560eca88cab6920 100644 (file)
--- a/mbyte.h
+++ b/mbyte.h
 # 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);