diff options
author | Marcel Raad <MarcelRaad@users.noreply.github.com> | 2016-05-18 11:54:58 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-05-18 12:52:41 +0200 |
commit | 125827e60ee98a6d42567a2418e50ab738ba2a5a (patch) | |
tree | 319cc6c3dfe13d173f25e2ede695df43cd684049 | |
parent | fe3db2e43b8e2d8670b66e1ae5a3ae413ac310c0 (diff) |
schannel: fix compile break with MSVC XP toolset
For the Windows XP toolset of Visual C++ 2013/2015, the old Windows SDK
7.1 is used. In this case, _USING_V110_SDK71_ is defined.
Closes #812
-rw-r--r-- | lib/vtls/schannel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index a2fba7352..b2e926563 100644 --- a/lib/vtls/schannel.c +++ b/lib/vtls/schannel.c @@ -63,7 +63,7 @@ /* ALPN requires version 8.1 of the Windows SDK, which was shipped with Visual Studio 2013, aka _MSC_VER 1800*/ -#if defined(_MSC_VER) && (_MSC_VER >= 1800) +#if defined(_MSC_VER) && (_MSC_VER >= 1800) && !defined(_USING_V110_SDK71_) # define HAS_ALPN 1 #endif |