summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-07-24 00:22:03 +0000
committerRoland McGrath <roland@gnu.org>1999-07-24 00:22:03 +0000
commit41ce3186a7c0be5e4b7dc0d4e6b5896f188c1473 (patch)
tree5d77e14b66c715e6cd24f1e2f30d9af135370ab3 /term
parente40e8cfaf3241962640c95725ecf92f09cd1a03f (diff)
1999-07-23 Roland McGrath <roland@baalperazim.frob.com>
* term.h (ILCASE, OLCASE): Use IUCLC, OLCUC if defined.
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 */