Skip to content

Commit

Permalink
trace: use only explicit RE_TRACE_ENABLED by cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Oct 3, 2023
1 parent 040455a commit 3f3ff77
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/re_trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ void re_trace_event(const char *cat, const char *name, char ph, void *id,
int32_t async_id, re_trace_arg_type arg_type,
const char *arg_name, void *arg_value);

#if !defined(RELEASE) && !defined(RE_TRACE_ENABLED)
#define RE_TRACE_ENABLED 1
#endif

#ifdef RE_TRACE_ENABLED

#define RE_TRACE_BEGIN(c, n) \
Expand Down

0 comments on commit 3f3ff77

Please sign in to comment.