From: Richard M. Stallman Date: Tue, 23 Nov 1993 10:41:27 +0000 (+0000) Subject: (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP): X-Git-Tag: emacs-19.34~10719 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=75bb67502d187cf3f54b31b1c46184c0f856ba8b;p=emacs.git (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP): If HAVE_TERMIOS and BSD_TERMIOS, don't use tc[sg]etpgrp. --- 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)))