diff --git a/src/event/modules/ngx_kqueue_module.c b/src/event/modules/ngx_kqueue_module.c index 8039c3d58..61bf43b58 100644 --- a/src/event/modules/ngx_kqueue_module.c +++ b/src/event/modules/ngx_kqueue_module.c @@ -369,7 +369,7 @@ static ngx_int_t ngx_kqueue_process_events(ngx_cycle_t *cycle) for ( ;; ) { timer = ngx_event_find_timer(); -#if (NGX_THREADS) +#if (NGX_THREADS0) if (timer == NGX_TIMER_ERROR) { return NGX_ERROR; }