From 9b1eeb89f1f110e306315438f90a2ff04fdace44 Mon Sep 17 00:00:00 2001 From: Beq Date: Wed, 24 Nov 2021 15:47:08 +0000 Subject: [PATCH] memory trace fix --- indra/llcommon/linden_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/indra/llcommon/linden_common.h b/indra/llcommon/linden_common.h index bb7fd9a868..31d3542a34 100644 --- a/indra/llcommon/linden_common.h +++ b/indra/llcommon/linden_common.h @@ -28,7 +28,8 @@ #define LL_LINDEN_COMMON_H #include "llprofiler.h" -#if TRACY_ENABLE // hooks for memory profiling +// #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))