summaryrefslogtreecommitdiffhomepage
path: root/src/event/ngx_event.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2002-12-23 18:22:18 +0000
committerIgor Sysoev <igor@sysoev.ru>2002-12-23 18:22:18 +0000
commit295bb6335d2f0b1931dbd0ff93de87fad189e9a7 (patch)
treebcfe25f469f7c68b45bdf7b6863160f2b40a4a91 /src/event/ngx_event.c
parenta6717c4e59a24bb11dab29b12fb9851bb41293c0 (diff)
downloadnginx-295bb6335d2f0b1931dbd0ff93de87fad189e9a7.tar.gz
nginx-295bb6335d2f0b1931dbd0ff93de87fad189e9a7.tar.bz2
nginx-0.0.1-2002-12-23-21:22:18 import
Diffstat (limited to '')
-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;