aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_swiftshader_third__party_marl_src_thread.cpp
blob: 2037ea2c16e35406fa7ad960452aefd0c553bc8d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/swiftshader/third_party/marl/src/thread.cpp.orig	2023-08-17 07:33:31 UTC
+++ third_party/swiftshader/third_party/marl/src/thread.cpp
@@ -444,7 +444,7 @@ void Thread::setName(const char* fmt, ...) {
   pthread_setname_np(name);
 #elif defined(__FreeBSD__)
   pthread_set_name_np(pthread_self(), name);
-#elif !defined(__Fuchsia__) && !defined(__EMSCRIPTEN__)
+#elif !defined(__Fuchsia__) && !defined(__EMSCRIPTEN__) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
   pthread_setname_np(pthread_self(), name);
 #endif