summaryrefslogtreecommitdiff
path: root/wrappers/ncurses
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-15 19:54:46 +0000
committermidipix <writeonce@midipix.org>2021-06-15 19:56:06 +0000
commit9841e8cbfe898941adb8cef2bfd11967e66fe222 (patch)
tree28d132b1ca7e615686329b1890419dddf403c60f /wrappers/ncurses
parent47d0df6b5723ef30df4acc671e0f8ad50b1a20e8 (diff)
downloadsbpython3-9841e8cbfe898941adb8cef2bfd11967e66fe222.tar.bz2
sbpython3-9841e8cbfe898941adb8cef2bfd11967e66fe222.tar.xz
project: added wrapper header and config logic for term.h.
Diffstat (limited to 'wrappers/ncurses')
-rw-r--r--wrappers/ncurses/term.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/wrappers/ncurses/term.h b/wrappers/ncurses/term.h
new file mode 100644
index 0000000..2228ba4
--- /dev/null
+++ b/wrappers/ncurses/term.h
@@ -0,0 +1,7 @@
+#ifdef HAVE_NCURSESW_TERM_H
+#include <ncursesw/term.h>
+#else
+#ifdef HAVE_NCURSES_TERM_H
+#include <ncurses/term.h>
+#endif
+#endif