memory trace fix

master
Beq 2021-11-24 15:47:08 +00:00
parent c43214df10
commit 9b1eeb89f1
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@
#define LL_LINDEN_COMMON_H
#include "llprofiler.h"
#if TRACY_ENABLE // hooks for memory profiling
// <FS:Beq/> #if (TRACY_ENABLE)
#if (TRACY_ENABLE) && LL_PROFILER_ENABLE_TRACY_MEMORY
void *tracy_aligned_malloc(size_t size, size_t alignment);
void tracy_aligned_free(void *memblock);
#define _aligned_malloc(X, Y) tracy_aligned_malloc((X), (Y))