repo.or.cz
/
rofl0r-df-libgraphics.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pick up CXXFLAGS passed on commandline
[rofl0r-df-libgraphics.git]
/
g_src
/
curses.h
blob
4234a0db569ca1b45847eb61b8e2538bd3ab994d
1
#ifndef DF_CURSES_H
2
#define DF_CURSES_H
3
4
#ifdef CURSES
5
6
extern
"C"
{
7
#ifndef __APPLE__
8
#ifdef unix
9
#ifdef HAVE_NCURSESW
10
/* defining _XOPEN_SOURCE_EXTENDED activates NCURSES_WIDECHAR support */
11
#define _XOPEN_SOURCE_EXTENDED
12
#endif
13
#ifdef HAVE_NCURSESW_CURSES_H
14
# include <ncursesw/curses.h>
15
#else
16
# include <ncurses.h>
17
#endif
18
# undef COLOR_BLUE
19
# undef COLOR_CYAN
20
# undef COLOR_RED
21
# undef COLOR_YELLOW
22
# include <dlfcn.h>
23
#endif
24
#endif
25
}
26
27
#ifndef __APPLE__
28
#ifdef unix
29
extern
"C"
{
30
void
init_curses
();
31
extern
WINDOW
**
stdscr_p
;
32
};
33
#endif
34
#endif
35
36
#endif
37
38
#endif