diff options
| author | Andreas Schwab | 1999-01-04 12:10:38 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1999-01-04 12:10:38 +0000 |
| commit | 55a2e19e03b81c0c955b409070910b866915c869 (patch) | |
| tree | 5e0bf114d138415f7683c8d98631026582432738 | |
| parent | 05e076c7ea9fc9a7d3c051a93309dccff320d0ea (diff) | |
| download | emacs-55a2e19e03b81c0c955b409070910b866915c869.tar.gz emacs-55a2e19e03b81c0c955b409070910b866915c869.zip | |
[__GLIBC__ >= 2]: Check __FAVOR_BSD instead of
_BSD_SOURCE, the latter is always defined.
| -rw-r--r-- | src/systty.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
| 298 | /* GNU libc by default defines getpgrp with no args on all systems. */ | 298 | /* GNU libc by default defines getpgrp with no args on all systems. */ |
| 299 | #if __GLIBC__ >= 2 | 299 | #if __GLIBC__ >= 2 |
| 300 | /* glibc-2.1 adds the BSD compatibility getpgrp function | 300 | /* glibc-2.1 adds the BSD compatibility getpgrp function |
| 301 | if you use __BSD_SOURCE, which Emacs does on GNU/Linux systems. */ | 301 | if you use _BSD_SOURCE, which Emacs does on GNU/Linux systems. */ |
| 302 | #if __GLIBC_MINOR__ < 1 || ! defined (_BSD_SOURCE) | 302 | #if __GLIBC_MINOR__ < 1 || ! defined (__FAVOR_BSD) |
| 303 | #define GETPGRP_NO_ARG | 303 | #define GETPGRP_NO_ARG |
| 304 | #endif | 304 | #endif |
| 305 | #else /* __GLIBC__ < 2 */ | 305 | #else /* __GLIBC__ < 2 */ |