Don't fail compilation on emscripten.

This commit is contained in:
Bartosz Taudul 2022-07-19 15:49:29 +02:00
parent 4d40a9cb53
commit fca8a7707d
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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.
//