Don't set pthread names in web builds
This commit is contained in:
parent
75471c6054
commit
f30da1a2ad
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ namespace psemek::log
|
|||
#if __APPLE__
|
||||
::pthread_setname_np(name.data());
|
||||
#else
|
||||
#if !(defined __EMSCRIPTEN__) || (defined __EMSCRIPTEN_PTHREADS__)
|
||||
#if !(defined __EMSCRIPTEN__)
|
||||
::pthread_setname_np(::pthread_self(), name.data());
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue