diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-07-15 10:03:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-07-15 10:03:59 -0400 |
commit | 44cfa538731079ffd6eb5f80b2e3c19c4f8acf03 (patch) | |
tree | 40c400cfea71ca53a3db5f813547c1b0555c8163 /src/common/crypto.c | |
parent | 852b1312812bd0174353271c5a2d42ed08c6b8a2 (diff) | |
download | tor-44cfa538731079ffd6eb5f80b2e3c19c4f8acf03.tar.gz tor-44cfa538731079ffd6eb5f80b2e3c19c4f8acf03.zip |
Make WIN32_WINNT defines conditional
Requested by Gisle Vanem on tor-dev. I'm not quite sure this is the
right solution, but it's probably harmless.
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index 05c1ce9ea2..9ad7575a7e 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -13,8 +13,12 @@ #include "orconfig.h" #ifdef MS_WINDOWS +#ifndef WIN32_WINNT #define WIN32_WINNT 0x400 +#endif +#ifndef _WIN32_WINNT #define _WIN32_WINNT 0x400 +#endif #define WIN32_LEAN_AND_MEAN #include <windows.h> #include <wincrypt.h> |