]> granicus.if.org Git - nethack/commitdiff
PANICTRACE bit
authorkeni <keni>
Sat, 16 Jan 2010 22:02:06 +0000 (22:02 +0000)
committerkeni <keni>
Sat, 16 Jan 2010 22:02:06 +0000 (22:02 +0000)
Only defined PANICTRACE for supported platforms.

include/global.h

index dc9a87d1d576dcb8cec516fde2fbca042af1f97d..f7104884818001ea3735a17203d48685bed27f50 100644 (file)
@@ -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: */