aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.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 /common.cpp
parent1edb7d3aa53454edc13a0ca68c4e1afc074febef (diff)
use configure to define NOMACROS
(added in 9ec808a4c)
Diffstat (limited to 'common.cpp')
-rw-r--r--common.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/common.cpp b/common.cpp
index db0f76e0..fcb58bc0 100644
--- a/common.cpp
+++ b/common.cpp
@@ -50,10 +50,7 @@ parts of fish.
#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