diff src/systty.h @ 5132:de089ed6966f

(EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP): If HAVE_TERMIOS and BSD_TERMIOS, don't use tc[sg]etpgrp.
author Richard M. Stallman <rms@gnu.org>
date Tue, 23 Nov 1993 10:41:27 +0000
parents 6a3e9555cee3
children da0a6ed995bd
line wrap: on
line diff
--- a/src/systty.h	Tue Nov 23 10:40:17 1993 +0000
+++ b/src/systty.h	Tue Nov 23 10:41:27 1993 +0000
@@ -273,7 +273,7 @@
 
 #ifdef EMACS_HAVE_TTY_PGRP
 
-#ifdef HAVE_TERMIOS
+#if defined (HAVE_TERMIOS) && ! defined (BSD_TERMIOS)
 
 #define EMACS_GET_TTY_PGRP(fd, pgid) (*(pgid) = tcgetpgrp ((fd)))
 #define EMACS_SET_TTY_PGRP(fd, pgid) (tcsetpgrp ((fd), *(pgid)))