aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/win32/ngx_init.c')
-rw-r--r--src/os/win32/ngx_init.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/os/win32/ngx_init.c b/src/os/win32/ngx_init.c
new file mode 100644
index 000000000..cc4f25e62
--- /dev/null
+++ b/src/os/win32/ngx_init.c
@@ -0,0 +1,11 @@
+
+#include <ngx_os_init.h>
+
+int ngx_os_init(ngx_log_t *log)
+{
+ if (ngx_init_sockets(&ngx_log) == NGX_ERROR) {
+ return NGX_ERROR;
+ }
+
+ return NGX_OK;
+}