aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/schannel.c
diff options
context:
space:
mode:
authorMarcel Raad <MarcelRaad@users.noreply.github.com>2016-05-18 11:54:58 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-05-18 12:52:41 +0200
commit125827e60ee98a6d42567a2418e50ab738ba2a5a (patch)
tree319cc6c3dfe13d173f25e2ede695df43cd684049 /lib/vtls/schannel.c
parentfe3db2e43b8e2d8670b66e1ae5a3ae413ac310c0 (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
Diffstat (limited to 'lib/vtls/schannel.c')
-rw-r--r--lib/vtls/schannel.c2
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