diff src/event/ngx_event.c @ 34:95f1c2a938f3

nginx-0.0.1-2002-12-20-09:54:55 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 20 Dec 2002 06:54:55 +0000
parents b2e039840718
children c14d7232b11f
line wrap: on
line diff
--- 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;