Mercurial > hg > nginx
comparison src/os/unix/ngx_posix_config.h @ 6465:9fd68d5009e3
Fixed --test-build-*.
Fixes various aspects of --test-build-devpoll, --test-build-eventport, and
--test-build-epoll.
In particular, if --test-build-devpoll was used on Linux, then "devpoll"
event method would be preferred over "epoll". Also, wrong definitions of
event macros were chosen.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 28 Mar 2016 19:29:18 +0300 |
parents | 7142b04337d6 |
children | fc0d06224eda |
comparison
equal
deleted
inserted
replaced
6464:088ef087a011 | 6465:9fd68d5009e3 |
---|---|
126 #if (NGX_HAVE_KQUEUE) | 126 #if (NGX_HAVE_KQUEUE) |
127 #include <sys/event.h> | 127 #include <sys/event.h> |
128 #endif | 128 #endif |
129 | 129 |
130 | 130 |
131 #if (NGX_HAVE_DEVPOLL) | 131 #if (NGX_HAVE_DEVPOLL) && !(NGX_TEST_BUILD_DEVPOLL) |
132 #include <sys/ioctl.h> | 132 #include <sys/ioctl.h> |
133 #include <sys/devpoll.h> | 133 #include <sys/devpoll.h> |
134 #endif | 134 #endif |
135 | 135 |
136 | 136 |