aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-third__party_swiftshader_third__party_marl_src_thread.cpp
blob: 2c94e189dc3e7b220a8e15cd3b7fb31f046b09c8 (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-28 20:17:35 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