瀏覽代碼

Fix Docgen by disabling tracy #ifdef guard (#11790)

* add tracy profiler extern

* disable tracy guard
Michael Bickel 9 月之前
父節點
當前提交
94bde7d3c0
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5 4
      std/cpp/vm/tracy/TracyProfiler.hx

+ 5 - 4
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
+#end