0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-11-03 10:08:54 +00:00
Files
termux-packages/x11-packages/chromium-host-tools/cr-patches/1020-chromium-base-no-pthread-mutexattr-protocol.patch
2025-10-30 16:21:24 +08:00

12 lines
473 B
Diff

--- a/base/synchronization/lock_impl_posix.cc
+++ b/base/synchronization/lock_impl_posix.cc
@@ -92,7 +92,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 BUILDFLAG(IS_FUCHSIA)
+#if BUILDFLAG(IS_FUCHSIA) || defined(__TERMUX__)
#define PRIORITY_INHERITANCE_LOCKS_POSSIBLE() 0
#else
#define PRIORITY_INHERITANCE_LOCKS_POSSIBLE() 1