diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index a4a71a127e..963d58cd8b 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1287,6 +1287,8 @@ void RenameThread(const char* name) // on FreeBSD or OpenBSD first. When verified the '0 &&' part can be // removed. pthread_set_name_np(pthread_self(), name); +#elif defined(MAC_OSX) + pthread_setname_np(name); #else // Prevent warnings for unused parameters... (void)name; |