summaryrefslogtreecommitdiff
path: root/g_src/curses.h
blob: 1253f60d955a244564906688fdd70251a821e8ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef DF_CURSES_H
#define DF_CURSES_H

extern "C" {
#include "GL/glew.h"
#if defined(__unix__) || defined(__APPLE__)
#ifdef __APPLE__
# include "ncursesw/curses.h"
#else
# include <ncursesw/curses.h>
#endif
# undef COLOR_BLUE
# undef COLOR_CYAN
# undef COLOR_RED
# undef COLOR_YELLOW
# include <dlfcn.h>
#endif
}

#if defined(__unix__) || defined(__APPLE__)
extern "C" {
  void init_curses();
  extern WINDOW **stdscr_p;
};
#endif


#endif