summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
Diffstat (limited to 'term')
-rw-r--r--term/term.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/term/term.h b/term/term.h
index 6dae4f03..da3d373a 100644
--- a/term/term.h
+++ b/term/term.h
@@ -44,8 +44,16 @@
#define CTRL_BIT 0x40
/* XXX These belong in <termios.h> */
+#ifdef IUCLC
+#define ILCASE IUCLC
+#else
#define ILCASE (1 << 14)
+#endif
+#ifdef OLCUC
+#define OLCASE OLCUC
+#else
#define OLCASE (1 << 9)
+#endif
#define OTILDE (1 << 10)
/* used in mdmctl device call */