From 37d535dec63a10eb475bd2cb64a5ce1e166d7878 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 9 Aug 2025 17:25:32 +0200 Subject: [PATCH] Move the #LOG_SIZE_BUFFER define out of the #ifdef, fixes #5917. --- src/86box.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/86box.c b/src/86box.c index b15690d50..94fbb1d24 100644 --- a/src/86box.c +++ b/src/86box.c @@ -300,10 +300,10 @@ static wchar_t mouse_msg[3][200]; static volatile atomic_int do_pause_ack = 0; static volatile atomic_int pause_ack = 0; -#ifndef RELEASE_BUILD - #define LOG_SIZE_BUFFER 8192 /* Log size buffer */ +#ifndef RELEASE_BUILD + static char buff[LOG_SIZE_BUFFER]; static int seen = 0;