diff options
author | Ruslan Ermilov <ru@nginx.com> | 2016-03-28 19:29:18 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2016-03-28 19:29:18 +0300 |
commit | f5fff1eda05ef0a1370f9a83068526b3e8aebfc7 (patch) | |
tree | eacb0c0f6dd8410b40b6bf26e779b38ef2c20774 /src/os/unix | |
parent | 3d791c46f5eddaa620be1f8a90b53b7c7aaa4cf3 (diff) | |
download | nginx-f5fff1eda05ef0a1370f9a83068526b3e8aebfc7.tar.gz nginx-f5fff1eda05ef0a1370f9a83068526b3e8aebfc7.zip |
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.
Diffstat (limited to 'src/os/unix')
-rw-r--r-- | src/os/unix/ngx_posix_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h index bf75997f6..5d1358e24 100644 --- a/src/os/unix/ngx_posix_config.h +++ b/src/os/unix/ngx_posix_config.h @@ -128,7 +128,7 @@ #endif -#if (NGX_HAVE_DEVPOLL) +#if (NGX_HAVE_DEVPOLL) && !(NGX_TEST_BUILD_DEVPOLL) #include <sys/ioctl.h> #include <sys/devpoll.h> #endif |