1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-31 04:02:06 +00:00

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.
This commit is contained in:
Kevin Mitchell 2014-12-15 23:48:23 -08:00
parent acc5e8f574
commit a501e2a6d1

View File

@ -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)