diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-05-14 13:36:52 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-05-14 13:36:52 -0400 |
commit | 9ffccb3f49e1c73b34c0bd41fd3bc7116afab4b7 (patch) | |
tree | 2bb7ed038f93877bae7c4d4b834b43a8d0409255 /src/common | |
parent | ee1b8196d372a1a407b3e4bd23e9860376330e69 (diff) | |
download | tor-9ffccb3f49e1c73b34c0bd41fd3bc7116afab4b7.tar tor-9ffccb3f49e1c73b34c0bd41fd3bc7116afab4b7.tar.gz |
Remove all instances of WIN32_WINNT (without leading _)
We started adding it in 59e2c77824840f back in 2004, 8 years and 3
days ago. It's time to deprogram ourselves from this cargo cult.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/aes.c | 3 | ||||
-rw-r--r-- | src/common/compat.h | 3 | ||||
-rw-r--r-- | src/common/crypto.c | 3 | ||||
-rw-r--r-- | src/common/tortls.c | 3 |
4 files changed, 0 insertions, 12 deletions
diff --git a/src/common/aes.c b/src/common/aes.c index a9a018851..692f1bca9 100644 --- a/src/common/aes.c +++ b/src/common/aes.c @@ -12,9 +12,6 @@ #include "orconfig.h" #ifdef _WIN32 /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/ - #ifndef WIN32_WINNT - #define WIN32_WINNT 0x400 - #endif #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x400 #endif diff --git a/src/common/compat.h b/src/common/compat.h index 65e6cb49e..f17aa0524 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -9,9 +9,6 @@ #include "orconfig.h" #include "torint.h" #ifdef _WIN32 -#ifndef WIN32_WINNT -#define WIN32_WINNT 0x400 -#endif #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x400 #endif diff --git a/src/common/crypto.c b/src/common/crypto.c index e37b28275..8b1c9a658 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -13,9 +13,6 @@ #include "orconfig.h" #ifdef _WIN32 -#ifndef WIN32_WINNT -#define WIN32_WINNT 0x400 -#endif #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x400 #endif diff --git a/src/common/tortls.c b/src/common/tortls.c index 12d982def..180efa61d 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -22,9 +22,6 @@ #include <assert.h> #ifdef _WIN32 /*wrkard for dtls1.h >= 0.9.8m of "#include <winsock.h>"*/ - #ifndef WIN32_WINNT - #define WIN32_WINNT 0x400 - #endif #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x400 #endif |