1
2 #ifndef MC__TTY_NCURSES_H
3 #define MC__TTY_NCURSES_H
4
5
6 #ifndef _XOPEN_SOURCE_EXTENDED
7 #define _XOPEN_SOURCE_EXTENDED
8 #endif
9
10 #ifdef HAVE_NCURSESW_NCURSES_H
11 #include <ncursesw/ncurses.h>
12 #elif defined(HAVE_NCURSESW_CURSES_H)
13 #include <ncursesw/curses.h>
14 #elif defined(HAVE_NCURSES_NCURSES_H)
15 #include <ncurses/ncurses.h>
16 #elif defined(HAVE_NCURSES_CURSES_H)
17 #include <ncurses/curses.h>
18 #elif defined(HAVE_NCURSES_H)
19 #include <ncurses.h>
20 #else
21 #include <curses.h>
22 #endif
23
24
25 #ifndef NCURSES_CONST
26 #define NCURSES_CONST const
27 #endif
28
29
30 #ifdef HAVE_NCURSES_WIDECHAR
31 #define ENABLE_SHADOWS 1
32 #endif
33
34
35
36
37
38
39
40
41
42 extern gboolean ncurses_koi8r_double_line_bug;
43
44
45
46
47
48 #endif