Loading changes/ifdef-winnt 0 → 100644 +4 −0 Original line number Diff line number Diff line o Build changes: - On Windows, we now define the _WIN32_WINNT macros only if they are not already defined. This lets the person building Tor decide, if they want, to require a later version of Windows. src/common/compat.h +4 −0 Original line number Diff line number Diff line Loading @@ -9,8 +9,12 @@ #include "orconfig.h" #include "torint.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 #if defined(_MSC_VER) && (_MSC_VER < 1300) #include <winsock.h> Loading src/common/crypto.c +4 −0 Original line number Diff line number Diff line Loading @@ -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> Loading src/common/tortls.c +4 −0 Original line number Diff line number Diff line Loading @@ -22,8 +22,12 @@ #include <assert.h> #ifdef MS_WINDOWS /*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 #define WIN32_LEAN_AND_MEAN #if defined(_MSC_VER) && (_MSC_VER < 1300) #include <winsock.h> Loading src/or/or.h +4 −0 Original line number Diff line number Diff line Loading @@ -23,8 +23,12 @@ #endif #ifdef MS_WINDOWS #ifndef WIN32_WINNT #define WIN32_WINNT 0x400 #endif #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x400 #endif #define WIN32_LEAN_AND_MEAN #endif Loading Loading
changes/ifdef-winnt 0 → 100644 +4 −0 Original line number Diff line number Diff line o Build changes: - On Windows, we now define the _WIN32_WINNT macros only if they are not already defined. This lets the person building Tor decide, if they want, to require a later version of Windows.
src/common/compat.h +4 −0 Original line number Diff line number Diff line Loading @@ -9,8 +9,12 @@ #include "orconfig.h" #include "torint.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 #if defined(_MSC_VER) && (_MSC_VER < 1300) #include <winsock.h> Loading
src/common/crypto.c +4 −0 Original line number Diff line number Diff line Loading @@ -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> Loading
src/common/tortls.c +4 −0 Original line number Diff line number Diff line Loading @@ -22,8 +22,12 @@ #include <assert.h> #ifdef MS_WINDOWS /*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 #define WIN32_LEAN_AND_MEAN #if defined(_MSC_VER) && (_MSC_VER < 1300) #include <winsock.h> Loading
src/or/or.h +4 −0 Original line number Diff line number Diff line Loading @@ -23,8 +23,12 @@ #endif #ifdef MS_WINDOWS #ifndef WIN32_WINNT #define WIN32_WINNT 0x400 #endif #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x400 #endif #define WIN32_LEAN_AND_MEAN #endif Loading