mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +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();
|
return lwp_gettid();
|
||||||
#elif defined __OpenBSD__
|
#elif defined __OpenBSD__
|
||||||
return getthrid();
|
return getthrid();
|
||||||
|
#elif defined __EMSCRIPTEN__
|
||||||
|
// Not supported, but let it compile.
|
||||||
|
return 0;
|
||||||
#else
|
#else
|
||||||
// To add support for a platform, retrieve and return the kernel thread identifier here.
|
// To add support for a platform, retrieve and return the kernel thread identifier here.
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user