Browse Source

Merge pull request #6565 from Chocobo1/defines

Add NTDDI_VERSION define
adaptive-webui-19844
sledgehammer999 8 years ago committed by GitHub
parent
commit
d4f30030a6
  1. 1
      cmake/Modules/winconf.cmake
  2. 7
      winconf.pri

1
cmake/Modules/winconf.cmake

@ -17,6 +17,7 @@ add_definitions(-DUNICODE
-DWIN32 -DWIN32
-D_WIN32 -D_WIN32
-DWIN32_LEAN_AND_MEAN -DWIN32_LEAN_AND_MEAN
-DNTDDI_VERSION=0x0501
-D_WIN32_WINNT=0x0501 -D_WIN32_WINNT=0x0501
-D_WIN32_IE=0x0500 -D_WIN32_IE=0x0500
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE

7
winconf.pri

@ -18,7 +18,7 @@ LIBS += $$quote(-LC:/qBittorrent/Zlib/lib)
# Point this to the openssl lib folder # Point this to the openssl lib folder
LIBS += $$quote(-LC:/qBittorrent/openssl/lib) LIBS += $$quote(-LC:/qBittorrent/openssl/lib)
# LIBTORRENT DEFINES # BOOST DEFINES
DEFINES += BOOST_ALL_NO_LIB DEFINES += BOOST_ALL_NO_LIB
DEFINES += BOOST_ASIO_HASH_MAP_BUCKETS=1021 DEFINES += BOOST_ASIO_HASH_MAP_BUCKETS=1021
DEFINES += BOOST_ASIO_SEPARATE_COMPILATION DEFINES += BOOST_ASIO_SEPARATE_COMPILATION
@ -29,14 +29,19 @@ DEFINES += BOOST_ASIO_DISABLE_CONNECTEX
DEFINES += BOOST_USE_WINAPI_VERSION=0x0501 DEFINES += BOOST_USE_WINAPI_VERSION=0x0501
DEFINES += BOOST_EXCEPTION_DISABLE DEFINES += BOOST_EXCEPTION_DISABLE
DEFINES += BOOST_SYSTEM_STATIC_LINK=1 DEFINES += BOOST_SYSTEM_STATIC_LINK=1
# LIBTORRENT DEFINES
DEFINES += TORRENT_USE_OPENSSL DEFINES += TORRENT_USE_OPENSSL
DEFINES += TORRENT_DISABLE_GEO_IP DEFINES += TORRENT_DISABLE_GEO_IP
DEFINES += TORRENT_DISABLE_RESOLVE_COUNTRIES DEFINES += TORRENT_DISABLE_RESOLVE_COUNTRIES
# QBT DEFINES
DEFINES += UNICODE DEFINES += UNICODE
DEFINES += _UNICODE DEFINES += _UNICODE
DEFINES += WIN32 DEFINES += WIN32
DEFINES += _WIN32 DEFINES += _WIN32
DEFINES += WIN32_LEAN_AND_MEAN DEFINES += WIN32_LEAN_AND_MEAN
DEFINES += NTDDI_VERSION=0x0501
DEFINES += _WIN32_WINNT=0x0501 DEFINES += _WIN32_WINNT=0x0501
DEFINES += _WIN32_IE=0x0501 DEFINES += _WIN32_IE=0x0501
DEFINES += _CRT_SECURE_NO_DEPRECATE DEFINES += _CRT_SECURE_NO_DEPRECATE

Loading…
Cancel
Save