diff --git a/builtin_set_color.cpp b/builtin_set_color.cpp index 76efde82bc8f..36ad70805b03 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 #else -// Solaris curses defines lots of unneeded macros which conflict with C++ -#define NOMACROS #include -#undef NOMACROS #endif #if HAVE_TERM_H diff --git a/common.cpp b/common.cpp index db0f76e084d3..fcb58bc0ba38 100644 --- a/common.cpp +++ b/common.cpp @@ -50,10 +50,7 @@ parts of fish. #elif HAVE_NCURSES_CURSES_H #include #else -// Solaris curses defines lots of unneeded macros which conflict with C++ -#define NOMACROS #include -#undef NOMACROS #endif #if HAVE_TERM_H diff --git a/env.cpp b/env.cpp index 1e63a335b9ce..1b1b0d98cbb2 100644 --- a/env.cpp +++ b/env.cpp @@ -24,10 +24,7 @@ #elif HAVE_NCURSES_CURSES_H #include #else -// Solaris curses defines lots of unneeded macros which conflict with C++ -#define NOMACROS #include -#undef NOMACROS #endif #if HAVE_TERM_H diff --git a/fallback.cpp b/fallback.cpp index 1a87a09270aa..43b95435415d 100644 --- a/fallback.cpp +++ b/fallback.cpp @@ -35,10 +35,7 @@ #elif HAVE_NCURSES_CURSES_H #include #else -// Solaris curses defines lots of unneeded macros which conflict with C++ -#define NOMACROS #include -#undef NOMACROS #endif #if HAVE_TERM_H diff --git a/input.cpp b/input.cpp index b4e323e95875..9e1560cff0cc 100644 --- a/input.cpp +++ b/input.cpp @@ -27,10 +27,7 @@ #elif HAVE_NCURSES_CURSES_H #include #else -// Solaris curses defines lots of unneeded macros which conflict with C++ -#define NOMACROS #include -#undef NOMACROS #endif #if HAVE_TERM_H diff --git a/io.cpp b/io.cpp index 56cb63b6d06c..7f9d5d445913 100644 --- a/io.cpp +++ b/io.cpp @@ -27,10 +27,7 @@ Utilities for io redirection. #elif HAVE_NCURSES_CURSES_H #include #else -// Solaris curses defines lots of unneeded macros which conflict with C++ -#define NOMACROS #include -#undef NOMACROS #endif #if HAVE_TERM_H diff --git a/output.cpp b/output.cpp index 7be8954d374e..5a0d221b37ff 100644 --- a/output.cpp +++ b/output.cpp @@ -25,10 +25,7 @@ #elif HAVE_NCURSES_CURSES_H #include #else -// Solaris curses defines lots of unneeded macros which conflict with C++ -#define NOMACROS #include -#undef NOMACROS #endif #if HAVE_TERM_H diff --git a/proc.cpp b/proc.cpp index a1a393f3de0d..1c887c62cc6c 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 #else -// Solaris curses defines lots of unneeded macros which conflict with C++ -#define NOMACROS #include -#undef NOMACROS #endif #if HAVE_TERM_H diff --git a/reader.cpp b/reader.cpp index 07ee5154e999..ba50cd98c6bc 100644 --- a/reader.cpp +++ b/reader.cpp @@ -48,10 +48,7 @@ commence. #elif HAVE_NCURSES_CURSES_H #include #else -// Solaris curses defines lots of unneeded macros which conflict with C++ -#define NOMACROS #include -#undef NOMACROS #endif #if HAVE_TERM_H diff --git a/screen.cpp b/screen.cpp index d4bf02ae472e..8eb514afc052 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 #else -// Solaris curses defines lots of unneeded macros which conflict with C++ -#define NOMACROS #include -#undef NOMACROS #endif #if HAVE_TERM_H