Commit 6746933a authored by Alexander Alashkin's avatar Alexander Alashkin Committed by Cesanta Bot

Fix Windows compilation

PUBLISHED_FROM=04bcd98025263f32d337730cf179bdfc35b683f1
parent 8cb2833f
...@@ -140,6 +140,7 @@ ...@@ -140,6 +140,7 @@
#endif #endif
#define _WINSOCK_DEPRECATED_NO_WARNINGS 1 #define _WINSOCK_DEPRECATED_NO_WARNINGS 1
#define _CRT_SECURE_NO_WARNINGS
#include <assert.h> #include <assert.h>
#include <direct.h> #include <direct.h>
...@@ -163,6 +164,10 @@ ...@@ -163,6 +164,10 @@
#include <windows.h> #include <windows.h>
#include <process.h> #include <process.h>
#if defined(_MSC_VER) && _MSC_VER >= 1800
#define strdup _strdup
#endif
#ifndef EINPROGRESS #ifndef EINPROGRESS
#define EINPROGRESS WSAEINPROGRESS #define EINPROGRESS WSAEINPROGRESS
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment