Browse Source

Remove outdated defines

adaptive-webui-19844
Chocobo1 5 years ago
parent
commit
e47d7fe55c
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 1
      cmake/Modules/FindLibtorrentRasterbar.cmake
  2. 7
      conf.pri.windows
  3. 1
      winconf.pri

1
cmake/Modules/FindLibtorrentRasterbar.cmake

@ -39,7 +39,6 @@ else() @@ -39,7 +39,6 @@ else()
# hope that they apply. If not, you the user are on your own.
set(LibtorrentRasterbar_DEFINITIONS
-DTORRENT_USE_OPENSSL
-DTORRENT_DISABLE_GEO_IP
-DBOOST_ASIO_ENABLE_CANCELIO
-DUNICODE -D_UNICODE -D_FILE_OFFSET_BITS=64)
endif()

7
conf.pri.windows

@ -46,15 +46,10 @@ DEFINES += BOOST_SYSTEM_STATIC_LINK @@ -46,15 +46,10 @@ DEFINES += BOOST_SYSTEM_STATIC_LINK
#DEFINES += BOOST_SYSTEM_DYN_LINK
# Boost 1.60+ defaults to Vista+ support. The define below enables XP support again.
DEFINES += BOOST_USE_WINAPI_VERSION=0x0501
# Enable if building against libtorrent 1.0.x (RC_1_0) (static linking)
#DEFINES += BOOST_ASIO_SEPARATE_COMPILATION
# Enable if building against libtorrent 1.0.x (RC_1_0) (dynamic linking)
#DEFINES += BOOST_ASIO_DYN_LINK
# Enable if encountered build error with boost version <= 1.59
#DEFINES += BOOST_NO_CXX11_RVALUE_REFERENCES
# Enable if building against libtorrent 1.1.x (RC_1_1)
# built with this flag defined
# Enable if libtorrent was built with this flag defined
#DEFINES += TORRENT_NO_DEPRECATE
# Enable if linking dynamically against libtorrent
#DEFINES += TORRENT_LINKING_SHARED

1
winconf.pri

@ -5,7 +5,6 @@ DEFINES += BOOST_ASIO_DISABLE_CONNECTEX @@ -5,7 +5,6 @@ DEFINES += BOOST_ASIO_DISABLE_CONNECTEX
DEFINES += BOOST_EXCEPTION_DISABLE
DEFINES += TORRENT_USE_OPENSSL
DEFINES += TORRENT_DISABLE_GEO_IP
DEFINES += TORRENT_DISABLE_RESOLVE_COUNTRIES
DEFINES += UNICODE

Loading…
Cancel
Save