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 USE_NCURSES
11 # ifdef HAVE_NCURSES_CURSES_H
12 # include <ncurses/curses.h>
13 # elif defined(HAVE_NCURSES_NCURSES_H)
14 # include <ncurses/ncurses.h>
15 # elif defined(HAVE_NCURSESW_CURSES_H)
16 # include <ncursesw/curses.h>
17 # elif defined(HAVE_NCURSES_HCURSES_H) || defined(HAVE_NCURSES_H)
18 # include <ncurses.h>
19 # else
20 # include <curses.h>
21 # endif
22 #endif
23
24 #ifdef USE_NCURSESW
25 # include <ncursesw/curses.h>
26 #endif
27
28
29 #ifndef NCURSES_CONST
30 # define NCURSES_CONST const
31 #endif
32
33
34 #if defined(NCURSES_WIDECHAR) && NCURSES_WIDECHAR
35 # define ENABLE_SHADOWS 1
36 #endif
37
38
39
40
41
42
43
44
45
46
47
48
49
50 #endif