From efed004b64a5aa26b2add6f58b2b962957e6e047 Mon Sep 17 00:00:00 2001 From: keni Date: Sat, 16 Jan 2010 22:02:06 +0000 Subject: [PATCH] PANICTRACE bit Only defined PANICTRACE for supported platforms. --- include/global.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/include/global.h b/include/global.h index dc9a87d1d..f71048848 100644 --- a/include/global.h +++ b/include/global.h @@ -365,10 +365,13 @@ struct savefile_info { #define MAXMONNO 120 /* extinct monst after this number created */ #define MHPMAX 500 /* maximum monster hp */ -#ifdef BETA +/* PANICTRACE: Always defined for BETA but only for supported platforms. */ +#ifdef UNIX +# ifdef BETA /* see end.c */ -# ifndef PANICTRACE -# define PANICTRACE +# ifndef PANICTRACE +# define PANICTRACE +# endif # endif #endif /* The following are meaningless if PANICTRACE is not defined: */