From 239baac646073cab7bbaf537ba2d6ca844f2c992 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 11 Jun 2003 15:28:34 +0000 Subject: nginx-0.0.1-2003-06-11-19:28:34 import --- src/core/ngx_modules.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/core/ngx_modules.c') 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 */ -- cgit v1.2.3