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