mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-18 11:01:06 +00:00
Merge #5366: No longer check osx compatibility in RenameThread
850c570 No longer check osx compatibility in RenameThread (Michael Ford)
This commit is contained in:
commit
47a79bb880
@ -698,13 +698,8 @@ void RenameThread(const char* name)
|
|||||||
// removed.
|
// removed.
|
||||||
pthread_set_name_np(pthread_self(), name);
|
pthread_set_name_np(pthread_self(), name);
|
||||||
|
|
||||||
#elif defined(MAC_OSX) && defined(__MAC_OS_X_VERSION_MAX_ALLOWED)
|
#elif defined(MAC_OSX)
|
||||||
|
|
||||||
// pthread_setname_np is XCode 10.6-and-later
|
|
||||||
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
|
|
||||||
pthread_setname_np(name);
|
pthread_setname_np(name);
|
||||||
#endif
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
// Prevent warnings for unused parameters...
|
// Prevent warnings for unused parameters...
|
||||||
(void)name;
|
(void)name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user