mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 08:48:07 -06:00
Remove obsolete Boost configurations.
This commit is contained in:
@@ -38,11 +38,7 @@
|
|||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
||||||
#include <boost/version.hpp>
|
#include <boost/version.hpp>
|
||||||
#if BOOST_VERSION < 103500
|
|
||||||
#include <libtorrent/asio/ip/tcp.hpp>
|
|
||||||
#else
|
|
||||||
#include <boost/asio/ip/tcp.hpp>
|
#include <boost/asio/ip/tcp.hpp>
|
||||||
#endif
|
|
||||||
|
|
||||||
const int CACHE_SIZE = 500;
|
const int CACHE_SIZE = 500;
|
||||||
|
|
||||||
|
|||||||
@@ -50,10 +50,6 @@ DEFINES += QT_NO_CAST_TO_ASCII
|
|||||||
# Fast concatenation (Qt >= 4.6)
|
# Fast concatenation (Qt >= 4.6)
|
||||||
DEFINES += QT_USE_FAST_CONCATENATION QT_USE_FAST_OPERATOR_PLUS
|
DEFINES += QT_USE_FAST_CONCATENATION QT_USE_FAST_OPERATOR_PLUS
|
||||||
|
|
||||||
# Fixes compilation with Boost >= v1.46 where boost
|
|
||||||
# filesystem v3 is the default.
|
|
||||||
DEFINES += BOOST_FILESYSTEM_VERSION=2
|
|
||||||
|
|
||||||
win32: DEFINES += NOMINMAX
|
win32: DEFINES += NOMINMAX
|
||||||
|
|
||||||
include(app/app.pri)
|
include(app/app.pri)
|
||||||
|
|||||||
Reference in New Issue
Block a user