summaryrefslogtreecommitdiff
path: root/ace/TTY_IO.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-02-05 05:01:13 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-02-05 05:01:13 +0000
commite589686a7e0687a5713b8495c74e83a9752e57c4 (patch)
treee502ccaf24f415d15f301840b4d384145a93d2cb /ace/TTY_IO.cpp
parentf18e114a04aa1dc6412b16aae0d59141d9c863db (diff)
downloadATCD-e589686a7e0687a5713b8495c74e83a9752e57c4.tar.gz
foo
Diffstat (limited to 'ace/TTY_IO.cpp')
-rw-r--r--ace/TTY_IO.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ace/TTY_IO.cpp b/ace/TTY_IO.cpp
index 74beed31c5e..b0a2f3ec20b 100644
--- a/ace/TTY_IO.cpp
+++ b/ace/TTY_IO.cpp
@@ -96,8 +96,10 @@ ACE_TTY_IO::control (Control_Mode cmd,
strcmp((char *) arg->paritymode,"odd")==0)
c_cflag |= PARODD;
}
+#if defined (CRTSCTS)
if (arg->ctsenb) /* enable CTS/RTS protocoll */
c_cflag |= CRTSCTS;
+#endif /* CRTSCTS */
if (arg->rcvenb) /* enable receiver */
c_cflag |= CREAD;