… | |
… | |
795 | } |
795 | } |
796 | |
796 | |
797 | unsigned int |
797 | unsigned int |
798 | ev_recommended_backends (void) |
798 | ev_recommended_backends (void) |
799 | { |
799 | { |
800 | unsigned int flags = ev_recommended_backends (); |
800 | unsigned int flags = ev_supported_backends (); |
801 | |
801 | |
802 | #ifndef __NetBSD__ |
802 | #ifndef __NetBSD__ |
803 | /* kqueue is borked on everything but netbsd apparently */ |
803 | /* kqueue is borked on everything but netbsd apparently */ |
804 | /* it usually doesn't work correctly on anything but sockets and pipes */ |
804 | /* it usually doesn't work correctly on anything but sockets and pipes */ |
805 | flags &= ~EVBACKEND_KQUEUE; |
805 | flags &= ~EVBACKEND_KQUEUE; |