check if we have a working C++ compiler
[rofl0r-df-libgraphics.git] / g_src / curses.h
blob72c23985f341354b473771f3c122b8ef37a62553
1 #ifndef DF_CURSES_H
2 #define DF_CURSES_H
4 #ifdef CURSES
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
23 #ifndef __APPLE__
24 #ifdef unix
25 extern "C" {
26 void init_curses();
27 extern WINDOW **stdscr_p;
29 #endif
30 #endif
32 #endif
34 #endif