From d1e116cb588b3da7062e6ad103b719d34145f1f9 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sat, 19 Nov 2022 17:27:24 +0000 Subject: [PATCH] u/trace_marker: Check for both tracing and percetto --- src/xrt/auxiliary/util/u_trace_marker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/auxiliary/util/u_trace_marker.h b/src/xrt/auxiliary/util/u_trace_marker.h index 89716e7bb..062077fd2 100644 --- a/src/xrt/auxiliary/util/u_trace_marker.h +++ b/src/xrt/auxiliary/util/u_trace_marker.h @@ -25,7 +25,7 @@ #endif #endif -#ifdef XRT_FEATURE_TRACING +#if defined(XRT_FEATURE_TRACING) && defined(XRT_HAVE_PERCETTO) #define U_TRACE_PERCETTO #include #endif