]> git.eshelyaron.com Git - emacs.git/commitdiff
[__GLIBC__ >= 2]: Check __FAVOR_BSD instead of
authorAndreas Schwab <schwab@suse.de>
Mon, 4 Jan 1999 12:10:38 +0000 (12:10 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 4 Jan 1999 12:10:38 +0000 (12:10 +0000)
_BSD_SOURCE, the latter is always defined.

src/systty.h

index adc5f5f4961c4f73f9ba5efa24c944fbe30fe78b..6aeb2f65a4e1b1465de321f96415aea2d5fab8a2 100644 (file)
@@ -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 */