summaryrefslogtreecommitdiff
path: root/devel/electron5/files/patch-base_threading_platform__thread.h
blob: 9d84e5d980a67ffeaea40834b4840f171c03a9a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- base/threading/platform_thread.h.orig	2019-04-08 08:18:04 UTC
+++ base/threading/platform_thread.h
@@ -220,7 +220,7 @@ class BASE_EXPORT PlatformThread {
 
   static ThreadPriority GetCurrentThreadPriority();
 
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
   // Toggles a specific thread's priority at runtime. This can be used to
   // change the priority of a thread in a different process and will fail
   // if the calling process does not have proper permissions. The