Commit cb24353c authored by Georgios Bitzes's avatar Georgios Bitzes

COMMON: Fix MacOS build

parent 7ce4323d
Pipeline #706012 canceled with stages
in 28 minutes and 28 seconds
......@@ -236,7 +236,9 @@ public:
//! Set thread name. Useful to have in GDB traces, for example.
//----------------------------------------------------------------------------
void setName(const std::string &threadName) {
#ifndef __APPLE__
pthread_setname_np(th.native_handle(), threadName.c_str());
#endif
}
private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment