aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2002-12-20 06:54:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2002-12-20 06:54:55 +0000
commit93e50544d8baf5fac38a5915c9231aaf175463da (patch)
treef02751e4f712af817c3d9d5f2705be06cac70043 /src
parentfcd21fe0a2a13f82f7c460e4e3d5ab0937eaf423 (diff)
downloadnginx-93e50544d8baf5fac38a5915c9231aaf175463da.tar.gz
nginx-93e50544d8baf5fac38a5915c9231aaf175463da.zip
nginx-0.0.1-2002-12-20-09:54:55 import
Diffstat (limited to 'src')
-rw-r--r--src/event/ngx_event.c4
1 files changed, 4 insertions, 0 deletions
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;