diff options
| author | Sébastien Marie <semarie@online.fr> | 2022-02-25 08:49:25 +0000 |
|---|---|---|
| committer | Sébastien Marie <semarie@online.fr> | 2022-02-25 08:49:25 +0000 |
| commit | 5676c9e7ebcec9af526c59ece1faf2e8b15e457c (patch) | |
| tree | e55736f4c0d291caac7c90d6184baf7cdadf1fcd /src/threading.cpp | |
| parent | 3a469dc13ec27fc77a408d823d501c7ad1da1811 (diff) | |
initial OpenBSD support
Diffstat (limited to 'src/threading.cpp')
| -rw-r--r-- | src/threading.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threading.cpp b/src/threading.cpp index 50d0dfed1..63e3415b2 100644 --- a/src/threading.cpp +++ b/src/threading.cpp @@ -486,7 +486,7 @@ void thread_set_name(Thread *t, char const *name) { #elif defined(GB_SYSTEM_OSX) // TODO(bill): Test if this works pthread_setname_np(name); -#elif defined(GB_SYSTEM_FREEBSD) +#elif defined(GB_SYSTEM_FREEBSD) || defined(GB_SYSTEM_OPENBSD) pthread_set_name_np(t->posix_handle, name); #else // TODO(bill): Test if this works |