diff options
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r-- | src/core/nginx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index 5652e4167..3133f8792 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -52,11 +52,12 @@ int main(int argc, char *const *argv) ngx_pool = ngx_create_pool(16 * 1024, &ngx_log); /* */ -#if !(WIN32) +#if (WIN32) + ngx_init_sockets(&ngx_log); +#else ngx_set_signals(&ngx_log); #endif - ngx_init_sockets(&ngx_log); ngx_init_array(ngx_listening_sockets, ngx_pool, 10, sizeof(ngx_listen_t), 1); |