aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-07-07 01:37:16 -0700
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2014-12-21 23:37:23 +0800
commit14fde56d32560f4bf983d5036fe53329e0d90ce8 (patch)
treec269f60fce78acbaaddaf057f0e4737e03f7974b /configure.ac
parenta8059c5962ba5695b3622fe0cf7b5e2eb383db1f (diff)
Define some macros to stop Solaris curses headers from breaking the STL
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a1716636..9c5c7262 100644
--- a/configure.ac
+++ b/configure.ac
@@ -337,6 +337,9 @@ AC_DEFINE(
[Define to 1 if the wgettext function should be used for translating strings.]
)
+# Disable curses macros that conflict with the STL
+AC_DEFINE([NCURSES_NOMACROS], [1], [Define to 1 to disable ncurses macros that conflict with the STL])
+AC_DEFINE([NOMACROS], [1], [Define to 1 to disable curses macros that conflict with the STL])
#
# Check presense of various libraries. This is done on a per-binary