summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/tty.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-10-15 20:30:44 +0000
committerbrian <brian@FreeBSD.org>1999-10-15 20:30:44 +0000
commitf0dc30299f3fc60d2968270cf1a459394a83b148 (patch)
tree2b891afa7791fcb6c4cf636299c80ec1d15039d8 /usr.sbin/ppp/tty.c
parent654b01bbf1f12524da187fa4b617589141f84a57 (diff)
downloadFreeBSD-src-f0dc30299f3fc60d2968270cf1a459394a83b148.zip
FreeBSD-src-f0dc30299f3fc60d2968270cf1a459394a83b148.tar.gz
Redefine CRTS_IFLOW and CCTS_OFLOW on the mac.
Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp>
Diffstat (limited to 'usr.sbin/ppp/tty.c')
-rw-r--r--usr.sbin/ppp/tty.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.sbin/ppp/tty.c b/usr.sbin/ppp/tty.c
index 6a4c1ac..eeae250 100644
--- a/usr.sbin/ppp/tty.c
+++ b/usr.sbin/ppp/tty.c
@@ -65,6 +65,13 @@
#include "main.h"
#include "tty.h"
+#if defined(__mac68k__) || defined(__macppc__)
+#undef CRTS_IFLOW
+#undef CCTS_OFLOW
+#define CRTS_IFLOW CDTRCTS
+#define CCTS_OFLOW CDTRCTS
+#endif
+
#define Online(dev) ((dev)->mbits & TIOCM_CD)
struct ttydevice {
OpenPOWER on IntegriCloud