Skip to content

Commit

Permalink
Merge #5366: No longer check osx compatibility in RenameThread
Browse files Browse the repository at this point in the history
850c570 No longer check osx compatibility in RenameThread (Michael Ford)
  • Loading branch information
laanwj committed Feb 18, 2015
2 parents 8d04187 + 850c570 commit 47a79bb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -698,13 +698,8 @@ void RenameThread(const char* name)
// removed.
pthread_set_name_np(pthread_self(), name);

#elif defined(MAC_OSX) && defined(__MAC_OS_X_VERSION_MAX_ALLOWED)

// pthread_setname_np is XCode 10.6-and-later
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
#elif defined(MAC_OSX)
pthread_setname_np(name);
#endif

#else
// Prevent warnings for unused parameters...
(void)name;
Expand Down

0 comments on commit 47a79bb

Please sign in to comment.