summaryrefslogtreecommitdiff
path: root/src/systty.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-11-23 10:41:27 +0000
committerRichard M. Stallman <rms@gnu.org>1993-11-23 10:41:27 +0000
commit4377303da32412ce6b48f838d11e6dd332c66393 (patch)
tree7a8ba20e4645383df2d56bcf80b1ce9ec43a1de7 /src/systty.h
parentf054bf281c5db3938d45ef5052c6a5c1b41d6ecc (diff)
downloademacs-4377303da32412ce6b48f838d11e6dd332c66393.tar.gz
(EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP):
If HAVE_TERMIOS and BSD_TERMIOS, don't use tc[sg]etpgrp.
Diffstat (limited to 'src/systty.h')
-rw-r--r--src/systty.h2
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)))