From: Andreas Schwab Date: Mon, 4 Jan 1999 12:10:38 +0000 (+0000) Subject: [__GLIBC__ >= 2]: Check __FAVOR_BSD instead of X-Git-Tag: emacs-20.4~959 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=55a2e19e03b81c0c955b409070910b866915c869;p=emacs.git [__GLIBC__ >= 2]: Check __FAVOR_BSD instead of _BSD_SOURCE, the latter is always defined. --- diff --git a/src/systty.h b/src/systty.h index adc5f5f4961..6aeb2f65a4e 100644 --- a/src/systty.h +++ b/src/systty.h @@ -298,8 +298,8 @@ static struct sensemode { /* 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 */