mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
(init_baud_rate) [USE_GETOBAUD]: Use getobaud.
This commit is contained in:
parent
3a3ee4454b
commit
2f43149bd6
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue