diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-09-03 04:34:17 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-09-03 04:34:17 +0000 |
commit | 2f43149bd6838f98b38b39b18aa581283d2d79e5 (patch) | |
tree | b4a05bad14bed3d7ca636dbcd80ba3772b81d16a /src/sysdep.c | |
parent | 3a3ee4454ba715bb39b0627f0f6886b81c9203fc (diff) | |
download | emacs-2f43149bd6838f98b38b39b18aa581283d2d79e5.tar.gz |
(init_baud_rate) [USE_GETOBAUD]: Use getobaud.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r-- | src/sysdep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index dc5b7ee233f..23920d88b64 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -279,6 +279,11 @@ init_baud_rate () sg.c_cflag = B9600; tcgetattr (input_fd, &sg); ospeed = cfgetospeed (&sg); +#ifdef USE_GETOBAUD + /* m88k-motorola-sysv3 needs this (ghazi@noc.rutgers.edu) 9/1/94. */ + if (ospeed == 0) + ospeed = getobaud (sg.c_cflag); +#endif #else /* neither VMS nor TERMIOS */ #ifdef HAVE_TERMIO struct termio sg; |