aboutsummaryrefslogtreecommitdiff
path: root/src/common/aes.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-05-14 13:46:37 -0400
committerNick Mathewson <nickm@torproject.org>2012-05-14 13:46:37 -0400
commit21e32619146db4602bc35acd0f237a91b43fd754 (patch)
treeb3ac39093694a92adbaa57009391932967c1ae01 /src/common/aes.c
parent9ffccb3f49e1c73b34c0bd41fd3bc7116afab4b7 (diff)
downloadtor-21e32619146db4602bc35acd0f237a91b43fd754.tar
tor-21e32619146db4602bc35acd0f237a91b43fd754.tar.gz
Bump _WIN32_WINNT to 0x0501 throughout the code
This tells the windows headers to give us definitions that didn't exist before XP -- like the ones that we need for IPv6 support. See bug #5861. We didn't run into this issue with mingw, since mingw doesn't respect _WIN32_WINNT as well as it should for some of its definitions.
Diffstat (limited to 'src/common/aes.c')
-rw-r--r--src/common/aes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/aes.c b/src/common/aes.c
index 692f1bca9..1cb6b86a8 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)