mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gstpoll: Don't use poll on systems with broken poll
This commit is contained in:
parent
0fc16a8e74
commit
95413683fa
1 changed files with 7 additions and 0 deletions
|
@ -82,6 +82,13 @@
|
|||
/* OS/X needs this because of bad headers */
|
||||
#include <string.h>
|
||||
|
||||
/* The poll() emulation on OS/X doesn't handle fds=NULL, nfds=0,
|
||||
* so we prefer our own poll emulation.
|
||||
*/
|
||||
#if defined(BROKEN_POLL)
|
||||
#undef HAVE_POLL
|
||||
#endif
|
||||
|
||||
#include "gstpoll.h"
|
||||
|
||||
#define GST_CAT_DEFAULT GST_CAT_POLL
|
||||
|
|
Loading…
Reference in a new issue