Mercurial > hg > nginx
diff src/event/ngx_event.c @ 37:9fe40e51d4a3
nginx-0.0.1-2002-12-23-21:22:18 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 23 Dec 2002 18:22:18 +0000 |
parents | c14d7232b11f |
children | 2ffaa35fba42 |
line wrap: on
line diff
--- a/src/event/ngx_event.c +++ b/src/event/ngx_event.c @@ -35,8 +35,18 @@ ngx_event_type_e ngx_event_type = NG ngx_event_type_e ngx_event_type = NGX_KQUEUE_EVENT; #endif +#elif (HAVE_POLL) + +#if 0 +ngx_event_type_e ngx_event_type = NGX_SELECT_EVENT; #else +ngx_event_type_e ngx_event_type = NGX_POLL_EVENT; +#endif + +#else + ngx_event_type_e ngx_event_type = NGX_SELECT_EVENT; + #endif ngx_event_actions_t ngx_event_actions;