From 71c319ccf0b2d45236aaafc31c26e8de6aaab706 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 28 Jun 2024 12:25:26 +1000 Subject: [PATCH] dep/rcheevos: Set RC_NO_THREADS We protect the state ourselves, **and** Win32 mutexes are horribly slow. --- dep/rcheevos/CMakeLists.txt | 2 +- dep/rcheevos/rcheevos.vcxproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dep/rcheevos/CMakeLists.txt b/dep/rcheevos/CMakeLists.txt index 01ee46165..2595d2a26 100644 --- a/dep/rcheevos/CMakeLists.txt +++ b/dep/rcheevos/CMakeLists.txt @@ -48,5 +48,5 @@ add_library(rcheevos target_include_directories(rcheevos PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include") target_include_directories(rcheevos INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/include") -target_compile_definitions(rcheevos PRIVATE "RC_DISABLE_LUA=1" "RCHEEVOS_URL_SSL=1") +target_compile_definitions(rcheevos PRIVATE "RC_DISABLE_LUA=1" "RCHEEVOS_URL_SSL=1" "RC_NO_THREADS=1") diff --git a/dep/rcheevos/rcheevos.vcxproj b/dep/rcheevos/rcheevos.vcxproj index 06e0c23e5..3e380edd2 100644 --- a/dep/rcheevos/rcheevos.vcxproj +++ b/dep/rcheevos/rcheevos.vcxproj @@ -57,7 +57,7 @@ TurnOffAllWarnings - RC_DISABLE_LUA;RCHEEVOS_URL_SSL;%(PreprocessorDefinitions) + RC_DISABLE_LUA=1;RCHEEVOS_URL_SSL=1;RC_NO_THREADS=1;%(PreprocessorDefinitions) $(ProjectDir)include;%(AdditionalIncludeDirectories)