mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-17 19:20:13 +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
|
#endif
|
||||||
|
|
||||||
#if defined(XRT_FEATURE_TRACING) && defined(XRT_HAVE_TRACY)
|
#if defined(XRT_FEATURE_TRACING) && defined(XRT_HAVE_TRACY)
|
||||||
|
#ifndef TRACY_ENABLE
|
||||||
|
#define TRACY_ENABLE
|
||||||
|
#endif // TRACY_ENABLE
|
||||||
#define U_TRACE_TRACY
|
#define U_TRACE_TRACY
|
||||||
#include "tracy/TracyC.h"
|
#include "tracy/TracyC.h"
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
Loading…
Reference in a new issue