diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-12-11 14:14:36 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-12-21 23:38:02 +0800 |
commit | 9b43e6fa8b9ab11826370ca6e4c6fa2aac3b486a (patch) | |
tree | fffc0d04dcaf69fd8228c9345d90dbce6e68ca16 | |
parent | 1edb7d3aa53454edc13a0ca68c4e1afc074febef (diff) |
use configure to define NOMACROS
(added in 9ec808a4c)
-rw-r--r-- | builtin_set_color.cpp | 3 | ||||
-rw-r--r-- | common.cpp | 3 | ||||
-rw-r--r-- | env.cpp | 3 | ||||
-rw-r--r-- | fallback.cpp | 3 | ||||
-rw-r--r-- | input.cpp | 3 | ||||
-rw-r--r-- | io.cpp | 3 | ||||
-rw-r--r-- | output.cpp | 3 | ||||
-rw-r--r-- | proc.cpp | 3 | ||||
-rw-r--r-- | reader.cpp | 3 | ||||
-rw-r--r-- | screen.cpp | 3 |
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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 |