mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-08 22:13:48 +01:00
disable pthread_setname_np on GNU/Hurd
which does not exist on GNU/Hurd
This commit is contained in:
parent
6b1ef6e1b9
commit
3f46ca41ca
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ namespace util
|
||||||
pthread_set_name_np(pthread_self(), name);
|
pthread_set_name_np(pthread_self(), name);
|
||||||
#elif defined(__NetBSD__)
|
#elif defined(__NetBSD__)
|
||||||
pthread_setname_np(pthread_self(), "%s", (void *)name);
|
pthread_setname_np(pthread_self(), "%s", (void *)name);
|
||||||
#else
|
#elif !defined(__gnu_hurd__)
|
||||||
pthread_setname_np(pthread_self(), name);
|
pthread_setname_np(pthread_self(), name);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue