From 779a717af48dba984da1fbab476c241fc0732e9d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 14 Feb 2025 20:24:00 +0300 Subject: =?UTF-8?q?fixes=20#4864=20(NewStory:=20=D0=BD=D0=B5=20=D0=B2?= =?UTF-8?q?=D0=B3=D1=80=D1=83=D0=B6=D0=B0=D0=B5=D1=82=D1=81=D1=8F=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=B4=20Windows=20XP)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/litehtml/src/string_id.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libs/litehtml/src/string_id.cpp') diff --git a/libs/litehtml/src/string_id.cpp b/libs/litehtml/src/string_id.cpp index d197d24469..6cc94cf5ff 100644 --- a/libs/litehtml/src/string_id.cpp +++ b/libs/litehtml/src/string_id.cpp @@ -2,10 +2,13 @@ #include "string_id.h" #include +#include +#include + #ifndef LITEHTML_NO_THREADS #include - static std::mutex mutex; - #define lock_guard std::lock_guard lock(mutex) + static mir_cs mutex; + #define lock_guard mir_cslock lock(mutex) #else #define lock_guard #endif -- cgit v1.2.3