mirror of
https://github.com/monero-project/monero.git
synced 2024-10-29 20:47:36 +00:00
Bump WINVER to 0x0600 (Windows Vista)
This is required to use SRW locks in Windows - see `src/crypto/c_threads.h`
This commit is contained in:
parent
dab7d01dc0
commit
fe8522c564
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ else()
|
|||
set(USE_LTO_DEFAULT false)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--stack,10485760")
|
||||
if(NOT BUILD_64)
|
||||
add_definitions(-DWINVER=0x0501 -D_WIN32_WINNT=0x0501)
|
||||
add_definitions(-DWINVER=0x0600 -D_WIN32_WINNT=0x0600)
|
||||
endif()
|
||||
endif()
|
||||
set(C_WARNINGS "-Waggregate-return -Wnested-externs -Wold-style-definition -Wstrict-prototypes")
|
||||
|
|
Loading…
Reference in a new issue