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
check if we have a working C++ compiler
[rofl0r-df-libgraphics.git]
/
g_src
/
curses.h
blob
72c23985f341354b473771f3c122b8ef37a62553
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
# include <ncursesw/curses.h>
11
#else
12
# include <ncurses.h>
13
#endif
14
# undef COLOR_BLUE
15
# undef COLOR_CYAN
16
# undef COLOR_RED
17
# undef COLOR_YELLOW
18
# include <dlfcn.h>
19
#endif
20
#endif
21
}
22
23
#ifndef __APPLE__
24
#ifdef unix
25
extern
"C"
{
26
void
init_curses
();
27
extern
WINDOW
**
stdscr_p
;
28
};
29
#endif
30
#endif
31
32
#endif
33
34
#endif