use configure to define NOMACROS

(added in 9ec808a4c)
This commit is contained in:
David Adam 2014-12-11 14:14:36 +08:00
parent 1edb7d3aa5
commit 9b43e6fa8b
10 changed files with 0 additions and 30 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

3
io.cpp
View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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