aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/memtrack/callstacktrace.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-10-28 22:34:52 +0100
committerGitHub Enterprise <[email protected]>2025-10-28 22:34:52 +0100
commit9c2cdc2345880f18b67af6b7b5c11d0ce9041ced (patch)
treedc868fb7368df37e7c3645f4cadea8bf73303505 /src/zencore/memtrack/callstacktrace.cpp
parent5.7.7 (diff)
downloadzen-9c2cdc2345880f18b67af6b7b5c11d0ce9041ced.tar.xz
zen-9c2cdc2345880f18b67af6b7b5c11d0ce9041ced.zip
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
Diffstat (limited to 'src/zencore/memtrack/callstacktrace.cpp')
-rw-r--r--src/zencore/memtrack/callstacktrace.cpp4
1 files changed, 2 insertions, 2 deletions
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 <zenbase/zenbase.h>
#include <zencore/string.h>
-#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"