vcpkg/ports/thorvg/revert-mutex.patch

27 lines
660 B
Diff

diff --git a/src/common/tvgLock.h b/src/common/tvgLock.h
index 59f68d0..d3a4e41 100644
--- a/src/common/tvgLock.h
+++ b/src/common/tvgLock.h
@@ -25,8 +25,6 @@
#ifdef THORVG_THREAD_SUPPORT
-#define _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
-
#include <mutex>
#include "tvgTaskScheduler.h"
diff --git a/src/renderer/tvgTaskScheduler.h b/src/renderer/tvgTaskScheduler.h
index 5e43457..fb9de21 100644
--- a/src/renderer/tvgTaskScheduler.h
+++ b/src/renderer/tvgTaskScheduler.h
@@ -23,8 +23,6 @@
#ifndef _TVG_TASK_SCHEDULER_H_
#define _TVG_TASK_SCHEDULER_H_
-#define _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
-
#include <mutex>
#include <condition_variable>