commit | bc544be002b864e808cbca54ea64fa9b68262302 | [log] [tgz] |
---|---|---|
author | Ken Payson <kpayson@google.com> | Thu Oct 06 19:23:47 2016 -0700 |
committer | Ken Payson <kpayson@google.com> | Thu Oct 06 19:23:47 2016 -0700 |
tree | 9942f8efbbeaf25f60d113971c69eb6e4e801b82 | |
parent | 5b5c8071c6f2a7a7d3b583ab383d061d4e326a00 [diff] [blame] |
Fix platform detection
diff --git a/src/core/lib/iomgr/ev_epoll_linux.c b/src/core/lib/iomgr/ev_epoll_linux.c index ab77ebc..249bc98 100644 --- a/src/core/lib/iomgr/ev_epoll_linux.c +++ b/src/core/lib/iomgr/ev_epoll_linux.c
@@ -1892,6 +1892,10 @@ return NULL; } + if (!grpc_has_wakeup_fd) { + return NULL; + } + if (!is_epoll_available()) { return NULL; }