mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
u/trace_marker: Ensure ENABLE_TRACE is set before including Tracy headers
This commit is contained in:
parent
b7748691b7
commit
f8d2c095ee
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue