]> git.eshelyaron.com Git - emacs.git/commitdiff
(init_baud_rate): Test that getobaud is actually defined.
authorRichard M. Stallman <rms@gnu.org>
Sun, 4 Sep 1994 02:09:55 +0000 (02:09 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 4 Sep 1994 02:09:55 +0000 (02:09 +0000)
src/sysdep.c

index 23920d88b6467c6f646f4e6ecc009a3ee3082992..5b179453deb696ab32e9176419adf220bbb504ab 100644 (file)
@@ -279,7 +279,7 @@ init_baud_rate ()
       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);