From e378b782fca168d048abba040a12cce88ce8cb6f Mon Sep 17 00:00:00 2001 From: nhkeni Date: Thu, 15 Feb 2024 19:00:08 -0500 Subject: [PATCH] Yes, apparently there are configurations that still need the NH_abort() macro --- src/end.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/end.c b/src/end.c index 522a6c919..c5e6b8d9d 100644 --- a/src/end.c +++ b/src/end.c @@ -49,10 +49,9 @@ ATTRNORETURN extern void nethack_exit(int) NORETURN; #define done_stopprint gp.program_state.stopprint -// XXX is there a configuration that still needs this? -//#ifndef PANICTRACE -//#define NH_abort(x) NH_abort_ -//#endif +#ifndef PANICTRACE +# define NH_abort(x) NH_abort_ +#endif #ifdef AMIGA #define NH_abort_ Abort(0)