diff options
author | Michael Ford <fanquake@gmail.com> | 2014-11-25 16:12:55 +0800 |
---|---|---|
committer | Michael Ford <fanquake@gmail.com> | 2014-11-25 16:12:55 +0800 |
commit | 850c570d685a3bd350eea30c4688185c586de1db (patch) | |
tree | 59b52807df508559e7199bcf72ec0d07cd069fb5 /src/util.cpp | |
parent | fe042dbe9f92f4bf004e3fbb8cc4a9ebdfbdfcb7 (diff) |
No longer check osx compatibility in RenameThread
10.5 support has been dropped for some time now.
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 0cdf4e614d..d40b985dc1 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; |