summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_swiftshader_third__party_marl_src_thread.cpp
blob: e66e5c7a8e2b2d800fea0d97d87b801af865d6ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/swiftshader/third_party/marl/src/thread.cpp.orig	2022-03-25 21:59:56 UTC
+++ third_party/swiftshader/third_party/marl/src/thread.cpp
@@ -426,7 +426,7 @@ void Thread::setName(const char* fmt, ...) {
   pthread_setname_np(name);
 #elif defined(__FreeBSD__)
   pthread_set_name_np(pthread_self(), name);
-#elif !defined(__Fuchsia__)
+#elif !defined(__Fuchsia__) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
   pthread_setname_np(pthread_self(), name);
 #endif