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/compat.h | |
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/compat.h')
-rw-r--r-- | src/common/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |