From 0baa23f553c1ceb55cf63c3ecb653c02beb3b263 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Tue, 1 Dec 2020 10:37:16 +0800 Subject: [PATCH] Update "HTTPS tracker validation" enablement conditional https://github.com/arvidn/libtorrent/pull/5313 --- src/base/bittorrent/session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/bittorrent/session.h b/src/base/bittorrent/session.h index d63188c94..7ff1e5cac 100644 --- a/src/base/bittorrent/session.h +++ b/src/base/bittorrent/session.h @@ -51,7 +51,7 @@ #include "sessionstatus.h" #include "torrentinfo.h" -#if !defined(Q_OS_WIN) +#if !defined(Q_OS_WIN) || (LIBTORRENT_VERSION_NUM >= 10212) #define HAS_HTTPS_TRACKER_VALIDATION #endif