From 0f704af614cab22297698fa6e830e62cdcbee0da Mon Sep 17 00:00:00 2001 From: Travis Lee Date: Thu, 1 Jun 2017 12:15:11 +0800 Subject: [PATCH] fix NGX_EXCLUSIVE_EVENT compile error on linux 4.5+ and glibc 2.24+ if Linux >= 4.5 and glibc >= 2.24, will compile with EPOLLEXCLUSIVE, but FreeBSD does not supported EPOLLEXCLUSIVE. --- app/nginx-1.11.10/auto/os/linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/nginx-1.11.10/auto/os/linux b/app/nginx-1.11.10/auto/os/linux index fae8842c6..e7e29acac 100644 --- a/app/nginx-1.11.10/auto/os/linux +++ b/app/nginx-1.11.10/auto/os/linux @@ -85,7 +85,7 @@ if [ $ngx_found = yes ]; then ee.events = EPOLLIN|EPOLLEXCLUSIVE; ee.data.ptr = NULL; epoll_ctl(efd, EPOLL_CTL_ADD, fd, &ee)" - . auto/feature +# . auto/feature fi