aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-09-03 04:34:17 +0000
committerRichard M. Stallman1994-09-03 04:34:17 +0000
commit2f43149bd6838f98b38b39b18aa581283d2d79e5 (patch)
treeb4a05bad14bed3d7ca636dbcd80ba3772b81d16a /src
parent3a3ee4454ba715bb39b0627f0f6886b81c9203fc (diff)
downloademacs-2f43149bd6838f98b38b39b18aa581283d2d79e5.tar.gz
emacs-2f43149bd6838f98b38b39b18aa581283d2d79e5.zip
(init_baud_rate) [USE_GETOBAUD]: Use getobaud.
Diffstat (limited to 'src')
-rw-r--r--src/sysdep.c5
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 ()
279 sg.c_cflag = B9600; 279 sg.c_cflag = B9600;
280 tcgetattr (input_fd, &sg); 280 tcgetattr (input_fd, &sg);
281 ospeed = cfgetospeed (&sg); 281 ospeed = cfgetospeed (&sg);
282#ifdef USE_GETOBAUD
283 /* m88k-motorola-sysv3 needs this (ghazi@noc.rutgers.edu) 9/1/94. */
284 if (ospeed == 0)
285 ospeed = getobaud (sg.c_cflag);
286#endif
282#else /* neither VMS nor TERMIOS */ 287#else /* neither VMS nor TERMIOS */
283#ifdef HAVE_TERMIO 288#ifdef HAVE_TERMIO
284 struct termio sg; 289 struct termio sg;