summaryrefslogtreecommitdiffhomepage
path: root/src/event/ngx_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/ngx_event.c')
-rw-r--r--src/event/ngx_event.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/event/ngx_event.c b/src/event/ngx_event.c
index 3cb070c28..b91a72afd 100644
--- a/src/event/ngx_event.c
+++ b/src/event/ngx_event.c
@@ -35,8 +35,18 @@ ngx_event_type_e ngx_event_type = NGX_POLL_EVENT;
ngx_event_type_e ngx_event_type = NGX_KQUEUE_EVENT;
#endif
+#elif (HAVE_POLL)
+
+#if 0
+ngx_event_type_e ngx_event_type = NGX_SELECT_EVENT;
#else
+ngx_event_type_e ngx_event_type = NGX_POLL_EVENT;
+#endif
+
+#else
+
ngx_event_type_e ngx_event_type = NGX_SELECT_EVENT;
+
#endif
ngx_event_actions_t ngx_event_actions;