From 125827e60ee98a6d42567a2418e50ab738ba2a5a Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Wed, 18 May 2016 11:54:58 +0200 Subject: [PATCH] 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 --- lib/vtls/schannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index a2fba73525..b2e9265638 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 -- 2.47.3