diff options
Diffstat (limited to 'libs/litehtml/src/string_id.cpp')
-rw-r--r-- | libs/litehtml/src/string_id.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libs/litehtml/src/string_id.cpp b/libs/litehtml/src/string_id.cpp index d356bef31f..d197d24469 100644 --- a/libs/litehtml/src/string_id.cpp +++ b/libs/litehtml/src/string_id.cpp @@ -1,12 +1,11 @@ #include "html.h" #include "string_id.h" -#include <assert.h> +#include <cassert> #ifndef LITEHTML_NO_THREADS - #include <Windows.h> - #include <newpluginapi.h> - static mir_cs mutex; - #define lock_guard mir_cslock lock(mutex) + #include <mutex> + static std::mutex mutex; + #define lock_guard std::lock_guard<std::mutex> lock(mutex) #else #define lock_guard #endif |