mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 20:27:49 +02:00
Merge https://github.com/PurpleI2P/i2pd into ui
Merge pull request #1688 from yangfl/openssl disable pthread_setname_np on GNU/Hurd
This commit is contained in:
commit
82c504e082
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue