From 6fb5efd9132fc64ec291f754ffcfa5e2a9e0f288 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 20 Dec 2002 06:54:55 +0000 Subject: [PATCH] nginx-0.0.1-2002-12-20-09:54:55 import --- src/event/ngx_event.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/event/ngx_event.c b/src/event/ngx_event.c index 763b8f8d2..c2e10aef3 100644 --- a/src/event/ngx_event.c +++ b/src/event/ngx_event.c @@ -22,11 +22,15 @@ ngx_event_t *ngx_read_events, *ngx_write_events; #if !(USE_KQUEUE) +#if (HAVE_KQUEUE) #if 1 ngx_event_type_e ngx_event_type = NGX_SELECT_EVENT; #else ngx_event_type_e ngx_event_type = NGX_KQUEUE_EVENT; #endif +#else +ngx_event_type_e ngx_event_type = NGX_SELECT_EVENT; +#endif ngx_event_actions_t ngx_event_actions;