]> git.kaiwu.me - nginx.git/commitdiff
nginx-0.0.1-2002-12-20-09:54:55 import
authorIgor Sysoev <igor@sysoev.ru>
Fri, 20 Dec 2002 06:54:55 +0000 (06:54 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 20 Dec 2002 06:54:55 +0000 (06:54 +0000)
src/event/ngx_event.c

index 763b8f8d20fc29f7967992c07b25ec38bd70b559..c2e10aef3aace42535a0cbd98519c7a9eb7f3da0 100644 (file)
@@ -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;