# HG changeset patch # User Andreas Schwab # Date 915451838 0 # Node ID 5889365d18cdfca58f4627d85a6c1d34a3382cc0 # Parent 38295026616a69e8f957b855ecac3008da3ee270 [__GLIBC__ >= 2]: Check __FAVOR_BSD instead of _BSD_SOURCE, the latter is always defined. diff -r 38295026616a -r 5889365d18cd src/systty.h --- a/src/systty.h Mon Jan 04 11:57:27 1999 +0000 +++ b/src/systty.h Mon Jan 04 12:10:38 1999 +0000 @@ -298,8 +298,8 @@ /* 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 (_BSD_SOURCE) + 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 */