Skip to content

Commit

Permalink
use configure to define NOMACROS
Browse files Browse the repository at this point in the history
(added in 9ec808a4c)
  • Loading branch information
zanchey committed Dec 21, 2014
1 parent 1edb7d3 commit 9b43e6f
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 30 deletions.
3 changes: 0 additions & 3 deletions builtin_set_color.cpp
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions common.cpp
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions env.cpp
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions fallback.cpp
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions input.cpp
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions io.cpp
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions output.cpp
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions proc.cpp
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions reader.cpp
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions screen.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 9b43e6f

Please sign in to comment.