diff options
-rw-r--r-- | ev_epoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |