summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2010-03-29 12:40:57 +0000
committerroot <root>2010-03-29 12:40:57 +0000
commit619a043b8db5e6856a1b5bfbe22a5ad33806fe82 (patch)
treec29c3595eb998d2a957f3f7a684caf7a200b7bcd /ev.c
parentf3c3a55593036d7dfecf3f59ddc951148d0ec228 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ev.c b/ev.c
index a22809a..53694cd 100644
--- a/ev.c
+++ b/ev.c
@@ -1509,6 +1509,9 @@ ev_recommended_backends (void)
flags &= ~EVBACKEND_KQUEUE; /* horribly broken, even for sockets */
flags &= ~EVBACKEND_POLL; /* poll is based on kqueue from 10.5 onwards */
#endif
+#ifdef __FreeBSD__
+ flags &= ~EVBACKEND_POLL; /* poll return value is unusable (http://forums.freebsd.org/archive/index.php/t-10270.html) */
+#endif
return flags;
}