aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSChernykh <sergey.v.chernykh@gmail.com>2023-01-09 07:48:00 +0100
committerSChernykh <sergey.v.chernykh@gmail.com>2023-01-09 07:48:00 +0100
commitfe8522c564deec0c6dcfabecb706fb0b5fa1583d (patch)
tree067313909c62c17fb1acc8fb65f5cad1c54cc3af
parentRefactored rx-slow-hash.c (diff)
downloadmonero-fe8522c564deec0c6dcfabecb706fb0b5fa1583d.tar.xz
Bump WINVER to 0x0600 (Windows Vista)
This is required to use SRW locks in Windows - see `src/crypto/c_threads.h`
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c0846280c..bfab72986 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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")