From 9c2cdc2345880f18b67af6b7b5c11d0ce9041ced Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Tue, 28 Oct 2025 22:34:52 +0100 Subject: fix --zentrace=no compile errors (#616) * make sure the correct `UE_WITH_TRACE` conditional is used to enable/disable support code as appropriate * fixed some accidental `int32`, `int64` et al usage, due to typedefs leaking through from trace header with this fix, it is now possible to build with `--zentrace=no` again --- src/zencore/memtrack/callstacktrace.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/zencore/memtrack/callstacktrace.cpp') diff --git a/src/zencore/memtrack/callstacktrace.cpp b/src/zencore/memtrack/callstacktrace.cpp index d860c05d1..a5b7fede6 100644 --- a/src/zencore/memtrack/callstacktrace.cpp +++ b/src/zencore/memtrack/callstacktrace.cpp @@ -5,7 +5,7 @@ #include #include -#if UE_CALLSTACK_TRACE_ENABLED +#if UE_CALLSTACK_TRACE_ENABLED && ZEN_WITH_TRACE namespace zen { @@ -46,7 +46,7 @@ CallstackTrace_Initialize() #endif -#if ZEN_PLATFORM_WINDOWS +#if ZEN_PLATFORM_WINDOWS && ZEN_WITH_TRACE # include "moduletrace.h" # include "growonlylockfreehash.h" -- cgit v1.2.3