]> granicus.if.org Git - neomutt/commitdiff
build: slcurses.h defines its own bool type
authorRichard Russon <rich@flatcap.org>
Tue, 14 Feb 2017 16:16:15 +0000 (16:16 +0000)
committerRichard Russon <rich@flatcap.org>
Tue, 14 Feb 2017 16:21:17 +0000 (16:21 +0000)
mutt_curses.h

index 4a56db92eda4ca3f15833e01b98fedc272c7f1d8..f9f737bed92c2fe6ea46f06b3e95745cd4859bac 100644 (file)
 
 #include <slang.h>     /* in addition to slcurses.h, we need slang.h for the version
                           number to test for 2.x having UTF-8 support in main.c */
+#ifdef bool
+#undef bool
+#endif
+
 #include <slcurses.h>
 
 #define KEY_DC SL_KEY_DELETE