summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2012-06-20 12:39:53 +0000
committerroot <root>2012-06-20 12:39:53 +0000
commitc88be0a825c025006fea0605a8d6890b8d084d98 (patch)
treea84243681250e7feaecdcd5654bb15b41dd6b8cc
parent8fe68640205e75a37060779f3e3f9da20575d8b9 (diff)
*** empty log message ***
-rw-r--r--ev_epoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev_epoll.c b/ev_epoll.c
index b4e02c2..f5ad618 100644
--- a/ev_epoll.c
+++ b/ev_epoll.c
@@ -238,7 +238,7 @@ epoll_init (EV_P_ int flags)
#ifdef EPOLL_CLOEXEC
backend_fd = epoll_create1 (EPOLL_CLOEXEC);
- if (backend_fd < 0)
+ if (backend_fd < 0 && (errno == EINVAL || errno == ENOSYS))
#endif
backend_fd = epoll_create (256);