changeset 8696:10ec51f5e4b0

(init_baud_rate): Test that getobaud is actually defined.
author Richard M. Stallman <rms@gnu.org>
date Sun, 04 Sep 1994 02:09:55 +0000
parents 0f702e9ab06d
children c75e435af62f
files src/sysdep.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/sysdep.c	Sat Sep 03 23:33:50 1994 +0000
+++ b/src/sysdep.c	Sun Sep 04 02:09:55 1994 +0000
@@ -279,7 +279,7 @@
       sg.c_cflag = B9600;
       tcgetattr (input_fd, &sg);
       ospeed = cfgetospeed (&sg);
-#ifdef USE_GETOBAUD
+#if defined (USE_GETOBAUD) && defined (getobaud)
       /* m88k-motorola-sysv3 needs this (ghazi@noc.rutgers.edu) 9/1/94. */
       if (ospeed == 0)
         ospeed = getobaud (sg.c_cflag);