mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
use configure to define NOMACROS
(added in 9ec808a4c)
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user