aboutsummaryrefslogtreecommitdiff
path: root/liberty.c
diff options
context:
space:
mode:
Diffstat (limited to 'liberty.c')
-rw-r--r--liberty.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/liberty.c b/liberty.c
index 506793e..1655bfa 100644
--- a/liberty.c
+++ b/liberty.c
@@ -1749,10 +1749,9 @@ poller_run (struct poller *self)
self->revents_len = 0;
}
-#elif defined (BSD)
-
-// Mac OS X's kqueue is fatally broken, or so I've been told; leaving it out.
-// Otherwise this is sort of similar to the epoll version.
+// Sort of similar to the epoll version. Let's hope Darwin isn't broken,
+// that'd mean reimplementing this in terms of select() just because of Crapple.
+#elif defined (BSD) || defined (__APPLE__)
#include <sys/types.h>
#include <sys/event.h>