From 94bde7d3c00b0d1d5eabf0bbde93533c4a44b065 Mon Sep 17 00:00:00 2001 From: Michael Bickel Date: Tue, 15 Oct 2024 10:28:09 +0200 Subject: [PATCH] Fix Docgen by disabling tracy #ifdef guard (#11790) * add tracy profiler extern * disable tracy guard --- std/cpp/vm/tracy/TracyProfiler.hx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/std/cpp/vm/tracy/TracyProfiler.hx b/std/cpp/vm/tracy/TracyProfiler.hx index 7b9fd37da98..f69f2e23861 100644 --- a/std/cpp/vm/tracy/TracyProfiler.hx +++ b/std/cpp/vm/tracy/TracyProfiler.hx @@ -22,9 +22,10 @@ package cpp.vm.tracy; -#if (!HXCPP_TRACY) -#error "This class cannot be used without -D HXCPP_TRACY" -#end +// Disable this guard for now. +// #if (!HXCPP_TRACY) +// #error "This class cannot be used without -D HXCPP_TRACY" +// #end enum abstract PlotFormatType(cpp.UInt8) from cpp.UInt8 to cpp.UInt8 { @@ -115,4 +116,4 @@ extern class Native_TracyProfiler { typedef TracyProfiler = Cppia_TracyProfiler; #else typedef TracyProfiler = Native_TracyProfiler; -#end \ No newline at end of file +#end