comparison src/event/ngx_event.c @ 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 8f038068f4bc
children f01ab2dbcfdc
comparison
equal deleted inserted replaced
6464:088ef087a011 6465:9fd68d5009e3
1206 module = &ngx_epoll_module; 1206 module = &ngx_epoll_module;
1207 } 1207 }
1208 1208
1209 #endif 1209 #endif
1210 1210
1211 #if (NGX_HAVE_DEVPOLL) 1211 #if (NGX_HAVE_DEVPOLL) && !(NGX_TEST_BUILD_DEVPOLL)
1212 1212
1213 module = &ngx_devpoll_module; 1213 module = &ngx_devpoll_module;
1214 1214
1215 #endif 1215 #endif
1216 1216