diff --git a/src/trace/trace.c b/src/trace/trace.c index b95a53d06..832d0f977 100644 --- a/src/trace/trace.c +++ b/src/trace/trace.c @@ -46,6 +46,8 @@ #endif +#ifdef RE_TRACE_ENABLED + struct trace_event { const char *name; const char *cat; @@ -133,6 +135,7 @@ static void flush_tmr(void *arg) tmr_start(&trace.flush_tmr, TRACE_FLUSH_TMR, flush_tmr, NULL); } +#endif /**