summaryrefslogtreecommitdiff
path: root/src/systty.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1999-01-04 12:10:38 +0000
committerAndreas Schwab <schwab@suse.de>1999-01-04 12:10:38 +0000
commit55a2e19e03b81c0c955b409070910b866915c869 (patch)
tree5e0bf114d138415f7683c8d98631026582432738 /src/systty.h
parent05e076c7ea9fc9a7d3c051a93309dccff320d0ea (diff)
downloademacs-55a2e19e03b81c0c955b409070910b866915c869.tar.gz
[__GLIBC__ >= 2]: Check __FAVOR_BSD instead of
_BSD_SOURCE, the latter is always defined.
Diffstat (limited to 'src/systty.h')
-rw-r--r--src/systty.h4
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 {
/* 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 */