aboutsummaryrefslogtreecommitdiffhomepage
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
parent1edb7d3aa53454edc13a0ca68c4e1afc074febef (diff)
use configure to define NOMACROS
(added in 9ec808a4c)
-rw-r--r--builtin_set_color.cpp3
-rw-r--r--common.cpp3
-rw-r--r--env.cpp3
-rw-r--r--fallback.cpp3
-rw-r--r--input.cpp3
-rw-r--r--io.cpp3
-rw-r--r--output.cpp3
-rw-r--r--proc.cpp3
-rw-r--r--reader.cpp3
-rw-r--r--screen.cpp3
10 files changed, 0 insertions, 30 deletions
diff --git a/builtin_set_color.cpp b/builtin_set_color.cpp
index 76efde82..36ad7080 100644
--- a/builtin_set_color.cpp
+++ b/builtin_set_color.cpp
@@ -14,10 +14,7 @@ Functions used for implementing the set_color builtin.
#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
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
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
diff --git a/fallback.cpp b/fallback.cpp
index 1a87a092..43b95435 100644
--- a/fallback.cpp
+++ b/fallback.cpp
@@ -35,10 +35,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
diff --git a/input.cpp b/input.cpp
index b4e323e9..9e1560cf 100644
--- a/input.cpp
+++ b/input.cpp
@@ -27,10 +27,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
diff --git a/io.cpp b/io.cpp
index 56cb63b6..7f9d5d44 100644
--- a/io.cpp
+++ b/io.cpp
@@ -27,10 +27,7 @@ Utilities for io redirection.
#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
diff --git a/output.cpp b/output.cpp
index 7be8954d..5a0d221b 100644
--- a/output.cpp
+++ b/output.cpp
@@ -25,10 +25,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
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
diff --git a/reader.cpp b/reader.cpp
index 07ee5154..ba50cd98 100644
--- a/reader.cpp
+++ b/reader.cpp
@@ -48,10 +48,7 @@ commence.
#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
diff --git a/screen.cpp b/screen.cpp
index d4bf02ae..8eb514af 100644
--- a/screen.cpp
+++ b/screen.cpp
@@ -23,10 +23,7 @@ efficient way for transforming that to the desired screen content.
#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