]> granicus.if.org Git - mutt/commitdiff
Unbreak compilation on OS X with --with-regex/--without-wc-funcs. Closes #3149.
authorVincent Lefevre <vincent@vinc17.net>
Mon, 9 Mar 2009 11:04:45 +0000 (12:04 +0100)
committerVincent Lefevre <vincent@vinc17.net>
Mon, 9 Mar 2009 11:04:45 +0000 (12:04 +0100)
mbyte.h

diff --git a/mbyte.h b/mbyte.h
index 5691fda5ce0b99491cbe40a92778369ce575456c..bb5601c43109a8a04f400a0d2ed149038ec459dd 100644 (file)
--- a/mbyte.h
+++ b/mbyte.h
 # endif
 
 # ifndef HAVE_WC_FUNCS
+#ifdef towupper
+# undef towupper
+#endif
+#ifdef towlower
+# undef towlower
+#endif
 #ifdef iswprint
 # undef iswprint
 #endif