summaryrefslogtreecommitdiff
path: root/wrappers/ncurses
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-02-24 23:06:24 -0500
committermidipix <writeonce@midipix.org>2019-02-25 01:25:12 -0500
commit9cd36bac0f34b5a31070093fc55d430c5d2232a9 (patch)
tree3971cb64b19a208a7e21ddc274298c3204e7114e /wrappers/ncurses
parentafd788d4554364590ded05f201ee030610d582fd (diff)
downloadsbpython2-9cd36bac0f34b5a31070093fc55d430c5d2232a9.tar.bz2
sbpython2-9cd36bac0f34b5a31070093fc55d430c5d2232a9.tar.xz
project: ncurses wrapper headers: moved to a designated directory.
Diffstat (limited to 'wrappers/ncurses')
-rw-r--r--wrappers/ncurses/panel.h7
-rw-r--r--wrappers/ncurses/term.h7
2 files changed, 14 insertions, 0 deletions
diff --git a/wrappers/ncurses/panel.h b/wrappers/ncurses/panel.h
new file mode 100644
index 0000000..307a4e6
--- /dev/null
+++ b/wrappers/ncurses/panel.h
@@ -0,0 +1,7 @@
+#ifdef HAVE_NCURSESW_PANEL_H
+#include <ncursesw/panel.h>
+#else
+#ifdef HAVE_NCURSES_PANEL_H
+#include <ncurses/panel.h>
+#endif
+#endif
diff --git a/wrappers/ncurses/term.h b/wrappers/ncurses/term.h
new file mode 100644
index 0000000..426c296
--- /dev/null
+++ b/wrappers/ncurses/term.h
@@ -0,0 +1,7 @@
+#ifdef HAVE_NCURSESW_PANEL_H
+#include <ncursesw/term.h>
+#else
+#ifdef HAVE_NCURSES_PANEL_H
+#include <ncurses/term.h>
+#endif
+#endif