diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-11-23 10:41:27 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-11-23 10:41:27 +0000 |
commit | 4377303da32412ce6b48f838d11e6dd332c66393 (patch) | |
tree | 7a8ba20e4645383df2d56bcf80b1ce9ec43a1de7 | |
parent | f054bf281c5db3938d45ef5052c6a5c1b41d6ecc (diff) | |
download | emacs-4377303da32412ce6b48f838d11e6dd332c66393.tar.gz |
(EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP):
If HAVE_TERMIOS and BSD_TERMIOS, don't use tc[sg]etpgrp.
-rw-r--r-- | src/systty.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systty.h b/src/systty.h index e264c8c4cd4..b92b0249b66 100644 --- a/src/systty.h +++ b/src/systty.h @@ -273,7 +273,7 @@ static struct sensemode { #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))) |