From 14fde56d32560f4bf983d5036fe53329e0d90ce8 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 7 Jul 2014 01:37:16 -0700 Subject: Define some macros to stop Solaris curses headers from breaking the STL --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.ac') 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 -- cgit v1.2.3