From f83f0a79ea05b4f8ed68e7481e687804ffc2a6ad Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Wed, 27 Sep 2023 17:15:25 +0200 Subject: [PATCH] main: use ifdef for RE_TRACE_ENABLED --- 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);