1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-22 04:04:16 +00:00

Merge pull request #1688 from yangfl/openssl

disable pthread_setname_np on GNU/Hurd
This commit is contained in:
R4SAS 2021-09-05 21:00:19 +00:00 committed by GitHub
commit 2f88a75325
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ namespace util
pthread_set_name_np(pthread_self(), name);
#elif defined(__NetBSD__)
pthread_setname_np(pthread_self(), "%s", (void *)name);
#else
#elif !defined(__gnu_hurd__)
pthread_setname_np(pthread_self(), name);
#endif
}