From f1a677fb4c47e32633809ccadc7ccde6703767b2 Mon Sep 17 00:00:00 2001 From: LinuxUserGD Date: Sun, 18 Feb 2024 19:10:23 +0100 Subject: Disable the crash handler if execinfo=no scons option is set --- platform/linuxbsd/crash_handler_linuxbsd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'platform/linuxbsd/crash_handler_linuxbsd.cpp') diff --git a/platform/linuxbsd/crash_handler_linuxbsd.cpp b/platform/linuxbsd/crash_handler_linuxbsd.cpp index fd4bcf92be..446fe5c7a1 100644 --- a/platform/linuxbsd/crash_handler_linuxbsd.cpp +++ b/platform/linuxbsd/crash_handler_linuxbsd.cpp @@ -36,8 +36,8 @@ #include "core/version.h" #include "main/main.h" -#ifdef DEBUG_ENABLED -#define CRASH_HANDLER_ENABLED 1 +#ifndef DEBUG_ENABLED +#undef CRASH_HANDLER_ENABLED #endif #ifdef CRASH_HANDLER_ENABLED -- cgit v1.2.3