PANICTRACE bit

Only defined PANICTRACE for supported platforms.
This commit is contained in:
keni
2010-01-16 22:02:06 +00:00
parent 89db1f9e73
commit efed004b64
+3
View File
@@ -365,12 +365,15 @@ struct savefile_info {
#define MAXMONNO 120 /* extinct monst after this number created */ #define MAXMONNO 120 /* extinct monst after this number created */
#define MHPMAX 500 /* maximum monster hp */ #define MHPMAX 500 /* maximum monster hp */
/* PANICTRACE: Always defined for BETA but only for supported platforms. */
#ifdef UNIX
# ifdef BETA # ifdef BETA
/* see end.c */ /* see end.c */
# ifndef PANICTRACE # ifndef PANICTRACE
# define PANICTRACE # define PANICTRACE
# endif # endif
# endif # endif
#endif
/* The following are meaningless if PANICTRACE is not defined: */ /* The following are meaningless if PANICTRACE is not defined: */
#if defined(__linux__) && defined(__GLIBC__) && (__GLIBC__ >= 2) #if defined(__linux__) && defined(__GLIBC__) && (__GLIBC__ >= 2)
# define PANICTRACE_GLIBC # define PANICTRACE_GLIBC