diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-02-18 17:36:16 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-02-18 17:36:39 +0100 |
| commit | 47a79bb880fa7dceafdbdc5df50a36173fe74de9 (patch) | |
| tree | 0f16c777dfe9cc75e3368652cc481d5e707993cf /src/util.cpp | |
| parent | Merge #5799: Rename Interval() to DifficultyAdjustmentInterval() (diff) | |
| parent | No longer check osx compatibility in RenameThread (diff) | |
| download | discoin-47a79bb880fa7dceafdbdc5df50a36173fe74de9.tar.xz discoin-47a79bb880fa7dceafdbdc5df50a36173fe74de9.zip | |
Merge #5366: No longer check osx compatibility in RenameThread
850c570 No longer check osx compatibility in RenameThread (Michael Ford)
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/util.cpp b/src/util.cpp index 0d0f7e5f9..361b3631f 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -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; |