Skip to content

Commit 177f3f5

Browse files
authored
trace: use only explicit RE_TRACE_ENABLED by cmake (#974)
1 parent 040455a commit 177f3f5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/re_trace.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ void re_trace_event(const char *cat, const char *name, char ph, void *id,
1818
int32_t async_id, re_trace_arg_type arg_type,
1919
const char *arg_name, void *arg_value);
2020

21-
#if !defined(RELEASE) && !defined(RE_TRACE_ENABLED)
22-
#define RE_TRACE_ENABLED 1
23-
#endif
24-
2521
#ifdef RE_TRACE_ENABLED
2622

2723
#define RE_TRACE_BEGIN(c, n) \

0 commit comments

Comments
 (0)