diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2022-02-28 14:23:56 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-28 14:23:56 +0000 |
| commit | dd9843aa2102ba2df42e04d86680e03a27fa45f8 (patch) | |
| tree | f48570df88dd42730bbd9f545eab89c352550aa8 /src/threading.cpp | |
| parent | 3c72cb67d3f031a71152aadc480f5838d1833228 (diff) | |
| parent | 04297bb68034196a212b040990bdeb4dc006c340 (diff) | |
Merge pull request #1557 from semarie/openbsd-support
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 |