summaryrefslogtreecommitdiff
path: root/ttymodes.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-12 17:32:30 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-12 17:32:30 +0000
commitb7ae94dd0b90d126a5be2dd4362e6148980529aa (patch)
tree5c1bb4ab02adbb383dcef5f5db97e8202ce4afda /ttymodes.h
parent837461bf9a8f71b96a522bf6f51d6fdcb5b2a8cd (diff)
- (bal) Some platforms don't have ONLCR (Notable Mint)
Diffstat (limited to 'ttymodes.h')
-rw-r--r--ttymodes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ttymodes.h b/ttymodes.h
index 68705928..7de4b836 100644
--- a/ttymodes.h
+++ b/ttymodes.h
@@ -156,7 +156,9 @@ TTYMODE(OPOST, c_oflag, 70)
#if defined(OLCUC)
TTYMODE(OLCUC, c_oflag, 71)
#endif
+#ifdef ONLCR
TTYMODE(ONLCR, c_oflag, 72)
+#endif
#ifdef OCRNL
TTYMODE(OCRNL, c_oflag, 73)
#endif