mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 23:11:14 -03:00
Solaris build fixes: pick the right curses more of the time
This commit is contained in:
5
proc.cpp
5
proc.cpp
@@ -33,8 +33,13 @@ Some of the code in this file is based on code from the Glibc manual.
|
||||
|
||||
#if HAVE_NCURSES_H
|
||||
#include <ncurses.h>
|
||||
#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