projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fc16a8
)
gstpoll: Don't use poll on systems with broken poll
author
Edward Hervey
<bilboed@bilboed.com>
Mon, 12 Oct 2009 07:50:46 +0000
(09:50 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Mon, 12 Oct 2009 07:53:58 +0000
(09:53 +0200)
gst/gstpoll.c
patch
|
blob
|
history
diff --git
a/gst/gstpoll.c
b/gst/gstpoll.c
index
a49c6e4
..
821f6dd
100644
(file)
--- a/
gst/gstpoll.c
+++ b/
gst/gstpoll.c
@@
-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