u/trace_marker: Ensure ENABLE_TRACE is set before including Tracy headers

This commit is contained in:
Jakob Bornecrantz 2022-12-08 00:11:06 +00:00
parent b7748691b7
commit f8d2c095ee

View file

@ -31,6 +31,9 @@
#endif
#if defined(XRT_FEATURE_TRACING) && defined(XRT_HAVE_TRACY)
#ifndef TRACY_ENABLE
#define TRACY_ENABLE
#endif // TRACY_ENABLE
#define U_TRACE_TRACY
#include "tracy/TracyC.h"
#ifdef __cplusplus