diff options
Diffstat (limited to '')
| -rw-r--r-- | src/os/win32/ngx_os.h (renamed from src/core/ngx_os_init.h) | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/core/ngx_os_init.h b/src/os/win32/ngx_os.h index e10a07de6..96f1c2d1f 100644 --- a/src/core/ngx_os_init.h +++ b/src/os/win32/ngx_os.h @@ -1,11 +1,10 @@ -#ifndef _NGX_OS_INIT_H_INCLUDED_ -#define _NGX_OS_INIT_H_INCLUDED_ +ifndef _NGX_OS_H_INCLUDED_ +#define _NGX_OS_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> - #define NGX_IO_SENDFILE 1 #define NGX_IO_ZEROCOPY 2 @@ -34,18 +33,17 @@ typedef struct { int ngx_os_init(ngx_log_t *log); -#if !(WIN32) -int ngx_daemon(ngx_log_t *log); -#endif - extern ngx_os_io_t ngx_os_io; extern int ngx_max_sockets; extern int ngx_inherited_nonblocking; +extern int ngx_win32_version; extern int restart; extern int rotate; -#endif /* _NGX_OS_INIT_H_INCLUDED_ */ + +#endif /* _NGX_OS_H_INCLUDED_ */ + |
