mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Don't fail compilation on emscripten.
This commit is contained in:
parent
4d40a9cb53
commit
fca8a7707d
@ -78,6 +78,9 @@ TRACY_API uint32_t GetThreadHandleImpl()
|
||||
return lwp_gettid();
|
||||
#elif defined __OpenBSD__
|
||||
return getthrid();
|
||||
#elif defined __EMSCRIPTEN__
|
||||
// Not supported, but let it compile.
|
||||
return 0;
|
||||
#else
|
||||
// To add support for a platform, retrieve and return the kernel thread identifier here.
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user