Mercurial > emacs
changeset 23990:5889365d18cd
[__GLIBC__ >= 2]: Check __FAVOR_BSD instead of
_BSD_SOURCE, the latter is always defined.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Mon, 04 Jan 1999 12:10:38 +0000 |
parents | 38295026616a |
children | 3dee93390da0 |
files | src/systty.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 */