From 21f62910ac0ec8e1bbc366c24fb961aa205e8cda Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 9 Feb 2025 16:19:39 +0300 Subject: [PATCH] engine: platform: posix: fix build when glibc execinfo.h is not available, but libbacktrace is still used --- engine/platform/posix/crash_posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/platform/posix/crash_posix.c b/engine/platform/posix/crash_posix.c index f8460ef2..bb64d673 100644 --- a/engine/platform/posix/crash_posix.c +++ b/engine/platform/posix/crash_posix.c @@ -32,7 +32,7 @@ void Sys_CrashLibbacktrace( int signal, siginfo_t *si, void *context ); qboolean Sys_SetupLibbacktrace( const char *argv0 ); static struct sigaction oldFilter; -#if !HAVE_EXECINFO && !HAVE_LIBBACKTRACE +#if !HAVE_EXECINFO #define STACK_BACKTRACE_STR "Stack backtrace:\n" #define STACK_DUMP_STR "Stack dump:\n"