]> Git Repo - VerusCoin.git/commitdiff
No longer check osx compatibility in RenameThread
authorMichael Ford <[email protected]>
Tue, 25 Nov 2014 08:12:55 +0000 (16:12 +0800)
committerMichael Ford <[email protected]>
Tue, 25 Nov 2014 08:12:55 +0000 (16:12 +0800)
10.5 support has been dropped for some time now.

src/util.cpp

index 0cdf4e614d8df6b173ece4178e06abed210b6f81..d40b985dc17d1e480b5cae8c2c902af706266191 100644 (file)
@@ -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;
This page took 0.026415 seconds and 4 git commands to generate.