1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Fix rpmalloc init for shared libraries.

This commit is contained in:
Bartosz Taudul
2021-06-13 12:15:36 +02:00
parent f4d80a4f5f
commit d07db80b44
2 changed files with 9 additions and 8 deletions
+1 -7
View File
@@ -13,13 +13,7 @@ namespace tracy
{
#ifdef TRACY_ENABLE
extern thread_local bool RpThreadInitDone;
TRACY_API void InitRpmallocPlumbing();
static tracy_force_inline void InitRpmalloc()
{
if( !RpThreadInitDone ) InitRpmallocPlumbing();
}
TRACY_API void InitRpmalloc();
#endif
static inline void* tracy_malloc( size_t size )