1 /* 2 * Curses Stub - Choose between system curses or Win32 curses 3 */ 4 5 #include "config.h" 6 7 #if defined(HAVE_LIBNCURSESW) 8 #if defined(HAVE_NCURSESW_CURSES_H) 9 #include <curses.h> 10 #elif defined(HAVE_NCURSES_CURSES_H) 11 #include <ncurses/curses.h> 12 #else 13 #include <curses.h> 14 #endif 15 #elif defined(HAVE_LIBNCURSES) 16 #if defined(HAVE_NCURSES_CURSES_H) 17 #include <ncurses/curses.h> 18 #else 19 #include <curses.h> 20 #endif 21 #elif defined(HAVE_LIBCURSES) 22 #include <curses.h> 23 #elif defined(HAVE_WINDOWS_H) 24 #include "mswin/curses.h" 25 #else 26 #error Unsupported curses configuration! 27 #endif 28