summaryrefslogtreecommitdiffstats
path: root/mbyte.h
diff options
context:
space:
mode:
authorVincent Lefevre <vincent@vinc17.net>2009-03-09 12:04:45 +0100
committerVincent Lefevre <vincent@vinc17.net>2009-03-09 12:04:45 +0100
commit670c8ad1e36a9aa4cee79cf952cfa80663697e28 (patch)
tree2277a0c3a37a05376440dd013971c405ac68b24b /mbyte.h
parente2b2680da7ff448bba6fc0e94766cb758519513e (diff)
Unbreak compilation on OS X with --with-regex/--without-wc-funcs. Closes #3149.
Diffstat (limited to 'mbyte.h')
-rw-r--r--mbyte.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/mbyte.h b/mbyte.h
index 5691fda5..bb5601c4 100644
--- a/mbyte.h
+++ b/mbyte.h
@@ -11,6 +11,12 @@
# endif
# ifndef HAVE_WC_FUNCS
+#ifdef towupper
+# undef towupper
+#endif
+#ifdef towlower
+# undef towlower
+#endif
#ifdef iswprint
# undef iswprint
#endif