mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
Add NTDDI_VERSION define
This commit is contained in:
parent
9eb01fbe4d
commit
5958585e3a
@ -3,7 +3,7 @@
|
|||||||
# We want to link with static version of
|
# We want to link with static version of
|
||||||
# libtorrent
|
# libtorrent
|
||||||
set(LibtorrentRasterbar_USE_STATIC_LIBS True)
|
set(LibtorrentRasterbar_USE_STATIC_LIBS True)
|
||||||
set(LibtorrentRasterbar_CUSTOM_DEFINITIONS
|
set(LibtorrentRasterbar_CUSTOM_DEFINITIONS
|
||||||
-DBOOST_ALL_NO_LIB -DBOOST_ASIO_HASH_MAP_BUCKETS=1021
|
-DBOOST_ALL_NO_LIB -DBOOST_ASIO_HASH_MAP_BUCKETS=1021
|
||||||
-DBOOST_ASIO_SEPARATE_COMPILATION
|
-DBOOST_ASIO_SEPARATE_COMPILATION
|
||||||
-DBOOST_EXCEPTION_DISABLE
|
-DBOOST_EXCEPTION_DISABLE
|
||||||
@ -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
|
||||||
|
@ -37,6 +37,7 @@ 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…
Reference in New Issue
Block a user