# HG changeset patch # User Igor Sysoev # Date 1040367295 0 # Node ID 95f1c2a938f342d076da51e53c7528b24429a3a9 # Parent b2e0398407186e4a7479374df557cacc2005edeb nginx-0.0.1-2002-12-20-09:54:55 import diff --git a/src/event/ngx_event.c b/src/event/ngx_event.c --- a/src/event/ngx_event.c +++ b/src/event/ngx_event.c @@ -22,11 +22,15 @@ ngx_event_t *ngx_read_events, *n #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;