aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.cpp
diff options
context:
space:
mode:
authorGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2014-12-11 14:14:36 +0800
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2014-12-21 23:38:02 +0800
commit9b43e6fa8b9ab11826370ca6e4c6fa2aac3b486a (patch)
treefffc0d04dcaf69fd8228c9345d90dbce6e68ca16 /env.cpp
parent1edb7d3aa53454edc13a0ca68c4e1afc074febef (diff)
use configure to define NOMACROS
(added in 9ec808a4c)
Diffstat (limited to 'env.cpp')
-rw-r--r--env.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/env.cpp b/env.cpp
index 1e63a335..1b1b0d98 100644
--- a/env.cpp
+++ b/env.cpp
@@ -24,10 +24,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