From a638629e4743c76dfeddbb0c8254527dce808578 Mon Sep 17 00:00:00 2001 From: nhkeni Date: Thu, 15 Feb 2024 18:53:49 -0500 Subject: [PATCH] unscramble NOCRASHREPORT logic in config.h --- include/config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/config.h b/include/config.h index 146a988eb..b777121a8 100644 --- a/include/config.h +++ b/include/config.h @@ -240,7 +240,7 @@ #define GREPPATH "/bin/grep" #endif -#ifdef NOCRASHREPORT +#ifndef NOCRASHREPORT # ifndef CRASHREPORT # ifdef MACOS # define CRASHREPORT "/usr/bin/open" @@ -255,6 +255,10 @@ # define CRASHREPORT /* builtin helper */ # endif # endif +#else +# ifdef CRASHREPORT +# undef CRASHREPORT +# endif #endif #ifdef CRASHREPORT