diff options
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |