From a501e2a6d1377dcb24a0b2e55aded28280efa3fe Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Mon, 15 Dec 2014 23:48:23 -0800 Subject: osdep/subprocess-posix: remove __GLIBC__ guard It's the wrong thing to check. For example it doesn't work on cygwin. Just live with the warning. --- osdep/subprocess-posix.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'osdep') diff --git a/osdep/subprocess-posix.c b/osdep/subprocess-posix.c index e56e2401f7..c2120b2aa8 100644 --- a/osdep/subprocess-posix.c +++ b/osdep/subprocess-posix.c @@ -29,10 +29,9 @@ #include "common/common.h" #include "stream/stream.h" -// Normally, this must be declared manually, but glibc is retarded. -#ifndef __GLIBC__ +// Normally, this must be declared manually, but glibc is retarded +// resulting in a warning. extern char **environ; -#endif // A silly helper: automatically skips entries with negative FDs static int sparse_poll(struct pollfd *fds, int num_fds, int timeout) -- cgit v1.2.3