]> git.llucax.com Git - software/libev.git/blobdiff - ev.c
*** empty log message ***
[software/libev.git] / ev.c
diff --git a/ev.c b/ev.c
index 7efc7e0bdc7bebb5413294064c5814ba38a9294e..1a4e5f16a459a1d96da354f7df4c153e4a754fb8 100644 (file)
--- a/ev.c
+++ b/ev.c
@@ -974,9 +974,13 @@ ev_recommended_backends (void)
 unsigned int
 ev_embeddable_backends (void)
 {
+  int flags = EVBACKEND_EPOLL | EVBACKEND_KQUEUE | EVBACKEND_PORT;
+
   /* epoll embeddability broken on all linux versions up to at least 2.6.23 */
-  return EVBACKEND_KQUEUE
-       | EVBACKEND_PORT;
+  /* please fix it and tell me how to detect the fix */
+  flags &= ~EVBACKEND_EPOLL;
+
+  return flags;
 }
 
 unsigned int