Skip to content

Commit 3a99e3b

Browse files
Various updates on the Windows configuration file.
1 parent 1fea2b3 commit 3a99e3b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

winconf.pri

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,16 @@ LIBS += $$quote(-LC:/qBittorrent/openssl/lib)
2222
DEFINES += BOOST_ALL_NO_LIB
2323
DEFINES += BOOST_ASIO_HASH_MAP_BUCKETS=1021
2424
DEFINES += BOOST_ASIO_SEPARATE_COMPILATION
25+
# After 1.55 some Windows users reported regular UI freezes.
26+
# This makes ASIO use the pre-1.56 way of doing things. See issue #2003
27+
DEFINES += BOOST_ASIO_DISABLE_CONNECTEX
28+
# Boost 1.60+ defaults to Vista+ support. The define below enables XP support again.
29+
DEFINES += BOOST_USE_WINAPI_VERSION=0x0501
2530
DEFINES += BOOST_EXCEPTION_DISABLE
2631
DEFINES += BOOST_SYSTEM_STATIC_LINK=1
2732
DEFINES += TORRENT_USE_OPENSSL
33+
DEFINES += TORRENT_DISABLE_GEO_IP
34+
DEFINES += TORRENT_DISABLE_RESOLVE_COUNTRIES
2835
DEFINES += UNICODE
2936
DEFINES += _UNICODE
3037
DEFINES += WIN32

0 commit comments

Comments
 (0)