diff options
author | Dave Love <fx@gnu.org> | 2002-11-27 22:55:26 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2002-11-27 22:55:26 +0000 |
commit | f7ff70e8a1b3469c669310afd1ca236b17804df7 (patch) | |
tree | 6e1faf1f98f55563e09918483c88668e18e09ca7 /src/systty.h | |
parent | 71cc40d5d4c554d939ffb8c2029ee508cb809822 (diff) | |
download | emacs-f7ff70e8a1b3469c669310afd1ca236b17804df7.tar.gz |
Don't conditionally define GETPGRP_NO_ARG. Test
GETPGRP_VOID instead.
[BSD_TERMIOS]: Remove definitions (never used).
Diffstat (limited to 'src/systty.h')
-rw-r--r-- | src/systty.h | 46 |
1 files changed, 2 insertions, 44 deletions
diff --git a/src/systty.h b/src/systty.h index 6aeb2f65a4e..fdd1f70f4c1 100644 --- a/src/systty.h +++ b/src/systty.h @@ -22,29 +22,6 @@ Boston, MA 02111-1307, USA. */ #define HAVE_TCATTR #endif -/* If we defined these before and we are about to redefine them, - prevent alarming warnings. */ -#ifdef BSD_TERMIOS -#undef NL0 -#undef NL1 -#undef CR0 -#undef CR1 -#undef CR2 -#undef CR3 -#undef TAB0 -#undef TAB1 -#undef TAB2 -#undef XTABS -#undef BS0 -#undef BS1 -#undef FF0 -#undef FF1 -#undef ECHO -#undef NOFLSH -#undef TOSTOP -#undef FLUSHO -#undef PENDIN -#endif /* Include the proper files. */ #ifdef HAVE_TERMIO @@ -294,30 +271,11 @@ static struct sensemode { /* EMACS_GETPGRP (arg) returns the process group of the process. */ -#ifdef __GNU_LIBRARY__ -/* GNU libc by default defines getpgrp with no args on all systems. */ -#if __GLIBC__ >= 2 -/* glibc-2.1 adds the BSD compatibility getpgrp function - if you use _BSD_SOURCE, which Emacs does on GNU/Linux systems. */ -#if __GLIBC_MINOR__ < 1 || ! defined (__FAVOR_BSD) -#define GETPGRP_NO_ARG -#endif -#else /* __GLIBC__ < 2 */ -#define GETPGRP_NO_ARG -#endif /* __GLIBC__ < 2 */ -#else /* not __GNU_LIBRARY__ */ -#if defined (USG) && !defined (GETPGRP_NEEDS_ARG) -# if !defined (GETPGRP_NO_ARG) -# define GETPGRP_NO_ARG -# endif -#endif -#endif /* not __GNU_LIBRARY__ */ - -#if defined (GETPGRP_NO_ARG) +#if defined (GETPGRP_VOID) # define EMACS_GETPGRP(x) getpgrp() #else # define EMACS_GETPGRP(x) getpgrp(x) -#endif /* !GETPGRP_NO_ARG */ +#endif /* !GETPGRP_VOID */ /* Manipulate a TTY's input/output processing parameters. */ |