Mercurial > hg > nginx-quic
diff src/os/win32/ngx_init.c @ 92:19cc647ecd91
nginx-0.0.1-2003-05-20-19:37:55 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 20 May 2003 15:37:55 +0000 |
parents | 637625a2acdb |
children | 738fe44c70d5 |
line wrap: on
line diff
--- a/src/os/win32/ngx_init.c +++ b/src/os/win32/ngx_init.c @@ -1,9 +1,29 @@ -#include <ngx_os_init.h> +#include <ngx_config.h> +#include <ngx_core.h> + + +int ngx_max_sockets; + + +ngx_os_io_t ngx_os_io = { +#if 0 + ngx_unix_recv, + NULL, + NULL, + ngx_freebsd_write_chain +#else + NULL, + NULL, + NULL, + NULL +#endif +}; + int ngx_os_init(ngx_log_t *log) { - if (ngx_init_sockets(&ngx_log) == NGX_ERROR) { + if (ngx_init_sockets(log) == NGX_ERROR) { return NGX_ERROR; }