aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_modules.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-06-11 15:28:34 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-06-11 15:28:34 +0000
commit239baac646073cab7bbaf537ba2d6ca844f2c992 (patch)
treec7c3f61213697a68dc95898d27a730c08abce049 /src/core/ngx_modules.c
parente4a2526e5ccd4f3f5f160656c1a7b6f865ac44c8 (diff)
downloadnginx-239baac646073cab7bbaf537ba2d6ca844f2c992.tar.gz
nginx-239baac646073cab7bbaf537ba2d6ca844f2c992.zip
nginx-0.0.1-2003-06-11-19:28:34 import
Diffstat (limited to 'src/core/ngx_modules.c')
-rw-r--r--src/core/ngx_modules.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/core/ngx_modules.c b/src/core/ngx_modules.c
index 4780570bc..0dbcde64d 100644
--- a/src/core/ngx_modules.c
+++ b/src/core/ngx_modules.c
@@ -17,11 +17,10 @@ extern ngx_module_t ngx_kqueue_module;
#if (HAVE_DEVPOLL)
extern ngx_module_t ngx_devpoll_module;
#endif
-#if (HAVE_AIO)
-extern ngx_module_t ngx_aio_module;
-#endif
#if (HAVE_IOCP)
extern ngx_module_t ngx_iocp_module;
+#elif (HAVE_AIO)
+extern ngx_module_t ngx_aio_module;
#endif
@@ -64,11 +63,10 @@ ngx_module_t *ngx_modules[] = {
#if (HAVE_DEVPOLL)
&ngx_devpoll_module,
#endif
-#if (HAVE_AIO)
- &ngx_aio_module,
-#endif
#if (HAVE_IOCP)
&ngx_iocp_module,
+#elif (HAVE_AIO)
+ &ngx_aio_module,
#endif
/* http */