mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-25 18:23:42 +00:00
Enable kqueue for freebsd again
This commit is contained in:
+1
-1
@@ -2736,7 +2736,7 @@ ev_recommended_backends (void) EV_THROW
|
||||
{
|
||||
unsigned int flags = ev_supported_backends ();
|
||||
|
||||
#ifndef __NetBSD__
|
||||
#if !defined(__NetBSD__) && !defined(__FreeBSD__)
|
||||
/* kqueue is borked on everything but netbsd apparently */
|
||||
/* it usually doesn't work correctly on anything but sockets and pipes */
|
||||
flags &= ~EVBACKEND_KQUEUE;
|
||||
|
||||
Reference in New Issue
Block a user