summaryrefslogtreecommitdiff
path: root/ext/Devel/Peek/Peek.xs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Devel/Peek/Peek.xs')
-rw-r--r--ext/Devel/Peek/Peek.xs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/Devel/Peek/Peek.xs b/ext/Devel/Peek/Peek.xs
index d193e312dd..d5066c1d5e 100644
--- a/ext/Devel/Peek/Peek.xs
+++ b/ext/Devel/Peek/Peek.xs
@@ -116,7 +116,8 @@ DeadCode()
}
#endif /* !PURIFY */
-#if defined(PERL_DEBUGGING_MSTATS)
+#if defined(PERL_DEBUGGING_MSTATS) || defined(DEBUGGING_MSTATS) \
+ || (defined(MYMALLOC) && !defined(PLAIN_MALLOC))
# define mstat(str) dump_mstats(str)
#else
# define mstat(str) \