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

@@ -36,10 +36,7 @@ Some of the code in this file is based on code from the Glibc manual.
#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