0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/qt5-qtwebengine/0010-chromium-no-priority-inheritance-locks.patch
2023-01-06 21:22:56 +00:00

12 lines
599 B
Diff

--- a/src/3rdparty/chromium/base/synchronization/lock_impl_posix.cc
+++ b/src/3rdparty/chromium/base/synchronization/lock_impl_posix.cc
@@ -59,7 +59,7 @@
// Lock::PriorityInheritanceAvailable still must be checked as the code may
// compile but the underlying platform still may not correctly support priority
// inheritance locks.
-#if defined(OS_NACL) || defined(OS_ANDROID) || defined(OS_FUCHSIA)
+#if defined(OS_NACL) || defined(OS_ANDROID) || defined(OS_FUCHSIA) || defined(__TERMUX__)
#define PRIORITY_INHERITANCE_LOCKS_POSSIBLE() 0
#else
#define PRIORITY_INHERITANCE_LOCKS_POSSIBLE() 1