Phil Dibowitz wrote:
> BTW, in my experience it takes some twiddling to make the code accept
> curses on solaris - it seems to assume you want ncurses on solaris... as
> I recall the code is something like:
> 
> #if SunOS
>   #include <ncurses>
>   ...
> #endif

No, at least since 3.4.18 the code in fils.c (3.x) and tools/ipfstat.c (4.x)
has been:
# if SOLARIS
/* or in later versions:
# if SOLARIS || defined(__NetBSD__) || defined(_BSDI_VERSION) || \
     defined(__sgi)
*/
#  ifdef ERR
#   undef ERR
#  endif
#  include <curses.h>
# else /* SOLARIS */
#  include <ncurses.h>
# endif /* SOLARIS */

Reply via email to