mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 21:53:41 +00:00
common: fix a crash on CI windows test.
it's a vs2022 17.10 stl known issue. https://github.com/microsoft/STL/wiki/Changelog
This commit is contained in:
parent
8afb7f7ca8
commit
e51dfb068a
2 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,8 @@
|
||||||
|
|
||||||
#ifdef THORVG_THREAD_SUPPORT
|
#ifdef THORVG_THREAD_SUPPORT
|
||||||
|
|
||||||
|
#define _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
|
||||||
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
namespace tvg {
|
namespace tvg {
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
#ifndef _TVG_TASK_SCHEDULER_H_
|
#ifndef _TVG_TASK_SCHEDULER_H_
|
||||||
#define _TVG_TASK_SCHEDULER_H_
|
#define _TVG_TASK_SCHEDULER_H_
|
||||||
|
|
||||||
|
#define _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
|
||||||
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <condition_variable>
|
#include <condition_variable>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue