diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-03-13 11:10:59 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-03-13 11:10:59 +0000 |
commit | 2ca42b2025cceaabd64889aa3b932195e8d5720c (patch) | |
tree | 3411d35057120791220f7fff1b2944cc912a4389 /Src/Modules/curses.c | |
parent | 37a7e813905ceba883493a70f81ab8695627662f (diff) | |
download | zsh-2ca42b2025cceaabd64889aa3b932195e8d5720c.tar.gz zsh-2ca42b2025cceaabd64889aa3b932195e8d5720c.tar.xz zsh-2ca42b2025cceaabd64889aa3b932195e8d5720c.zip |
24705: rationalise curses and term headers even more
Diffstat (limited to 'Src/Modules/curses.c')
-rw-r--r-- | Src/Modules/curses.c | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/Src/Modules/curses.c b/Src/Modules/curses.c index 0649f5750..df8a9cdc6 100644 --- a/Src/Modules/curses.c +++ b/Src/Modules/curses.c @@ -41,26 +41,8 @@ # undef HAVE_NCURSESW_NCURSES_H #endif -#ifdef ZSH_IGNORE_NCURSES -# ifdef HAVE_CURSES_H -# include <curses.h> -# endif -#else -# ifdef HAVE_NCURSESW_NCURSES_H -# include <ncursesw/ncurses.h> -# else -# ifdef HAVE_NCURSES_NCURSES_H -# include <ncurses/ncurses.h> -# else -# ifdef HAVE_NCURSES_H -# include <ncurses.h> -# else -# ifdef HAVE_CURSES_H -# include <curses.h> -# endif -# endif -# endif -# endif +#ifdef ZSH_HAVE_CURSES_H +# include "../zshcurses.h" #endif #ifdef HAVE_SETCCHAR |