use configure to define NOMACROS

(added in 9ec808a4c)
This commit is contained in:
David Adam
2014-12-11 14:14:36 +08:00
parent 1edb7d3aa5
commit 9b43e6fa8b
10 changed files with 0 additions and 30 deletions

View File

@@ -27,10 +27,7 @@
#elif HAVE_NCURSES_CURSES_H
#include <ncurses/curses.h>
#else
// Solaris curses defines lots of unneeded macros which conflict with C++
#define NOMACROS
#include <curses.h>
#undef NOMACROS
#endif
#if HAVE_TERM_H