From e59bbb4e9e1daa656e2a3cd237f284a848910537 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Wed, 27 Sep 2023 17:36:28 +0200 Subject: [PATCH] main: use ifdef for RE_TRACE_ENABLED (#966) --- src/main/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/init.c b/src/main/init.c index 0265b7f6a..b84012979 100644 --- a/src/main/init.c +++ b/src/main/init.c @@ -168,7 +168,7 @@ int libre_init(void) return err; } -#if RE_TRACE_ENABLED +#ifdef RE_TRACE_ENABLED re_trace_init("re_trace.json"); #endif @@ -184,7 +184,7 @@ int libre_init(void) void libre_close(void) { -#if RE_TRACE_ENABLED +#ifdef RE_TRACE_ENABLED re_trace_close(); #endif (void)fd_setsize(0);