aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-11-23 10:41:27 +0000
committerRichard M. Stallman <[email protected]>1993-11-23 10:41:27 +0000
commit75bb67502d187cf3f54b31b1c46184c0f856ba8b (patch)
tree1e8afbde632b060b276e6e7f418ca13563547dc7
parent8d47f8c474bc1e41231629e275ee8c356f346c8f (diff)
(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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systty.h b/src/systty.h
index e264c8c4cd..b92b0249b6 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)))