Browse Source

Merge pull request #1688 from yangfl/openssl

disable pthread_setname_np on GNU/Hurd
pull/1693/head
R4SAS 3 years ago committed by GitHub
parent
commit
2f88a75325
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libi2pd/util.cpp

2
libi2pd/util.cpp

@ -129,7 +129,7 @@ namespace util @@ -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…
Cancel
Save