diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-05-14 13:46:37 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-05-14 13:46:37 -0400 |
commit | 21e32619146db4602bc35acd0f237a91b43fd754 (patch) | |
tree | b3ac39093694a92adbaa57009391932967c1ae01 /src/common/aes.c | |
parent | 9ffccb3f49e1c73b34c0bd41fd3bc7116afab4b7 (diff) | |
download | tor-21e32619146db4602bc35acd0f237a91b43fd754.tar.gz tor-21e32619146db4602bc35acd0f237a91b43fd754.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 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) |