summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/aes.c2
-rw-r--r--src/common/compat.h2
-rw-r--r--src/common/crypto.c2
-rw-r--r--src/common/tortls.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/common/aes.c b/src/common/aes.c
index 692f1bca92..1cb6b86a82 100644
--- a/src/common/aes.c
+++ b/src/common/aes.c
@@ -13,7 +13,7 @@
#ifdef _WIN32 /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/
#ifndef _WIN32_WINNT
- #define _WIN32_WINNT 0x400
+ #define _WIN32_WINNT 0x0501
#endif
#define WIN32_LEAN_AND_MEAN
#if defined(_MSC_VER) && (_MSC_VER < 1300)
diff --git a/src/common/compat.h b/src/common/compat.h
index f17aa0524e..b0ef63badf 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -10,7 +10,7 @@
#include "torint.h"
#ifdef _WIN32
#ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x400
+#define _WIN32_WINNT 0x0501
#endif
#define WIN32_LEAN_AND_MEAN
#if defined(_MSC_VER) && (_MSC_VER < 1300)
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 8b1c9a658e..f82598fab2 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -14,7 +14,7 @@
#ifdef _WIN32
#ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x400
+#define _WIN32_WINNT 0x0501
#endif
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 180efa61db..1120f3e8be 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -23,7 +23,7 @@
#include <assert.h>
#ifdef _WIN32 /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/
#ifndef _WIN32_WINNT
- #define _WIN32_WINNT 0x400
+ #define _WIN32_WINNT 0x0501
#endif
#define WIN32_LEAN_AND_MEAN
#if defined(_MSC_VER) && (_MSC_VER < 1300)