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
commitdff410b07d33d346de83f11fc5685e4485fff7d1 (patch)
treed903b37f3d0595de15d1c61ef9d52c7a8daf3185 /src/systty.h
parentbb1a3fd7f44b33d323a75c6b06afd7d563d65688 (diff)
downloademacs-dff410b07d33d346de83f11fc5685e4485fff7d1.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 */