mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 15:30:40 +08:00
use configure to define NOMACROS
(added in 9ec808a4c)
This commit is contained in:
parent
1edb7d3aa5
commit
9b43e6fa8b
|
@ -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
|
||||
|
|
3
env.cpp
3
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
|
||||
|
|
|
@ -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
|
||||
|
|
3
io.cpp
3
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
|
||||
|
|
|
@ -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
|
||||
|
|
3
proc.cpp
3
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user