summaryrefslogtreecommitdiff
path: root/include/mimalloc-types.h
diff options
context:
space:
mode:
authordaan <daanl@outlook.com>2022-01-10 16:21:15 -0800
committerdaan <daanl@outlook.com>2022-01-10 16:21:15 -0800
commita74c05c6c0cda3fb4d1aa515dc36aea5e08d2c65 (patch)
treeedb187811e35f786f6f58a50530c28f917cea134 /include/mimalloc-types.h
parenta763b6310dbbecc92ed549dba757690381195853 (diff)
parent05c2a51211bd5b952483d7eccb22dc5d5428155a (diff)
Merge branch 'dev' into dev-slice
Diffstat (limited to 'include/mimalloc-types.h')
-rw-r--r--include/mimalloc-types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mimalloc-types.h b/include/mimalloc-types.h
index 957115c..4136428 100644
--- a/include/mimalloc-types.h
+++ b/include/mimalloc-types.h
@@ -447,9 +447,15 @@ struct mi_heap_s {
// Debug
// ------------------------------------------------------
+#if !defined(MI_DEBUG_UNINIT)
#define MI_DEBUG_UNINIT (0xD0)
+#endif
+#if !defined(MI_DEBUG_FREED)
#define MI_DEBUG_FREED (0xDF)
+#endif
+#if !defined(MI_DEBUG_PADDING)
#define MI_DEBUG_PADDING (0xDE)
+#endif
#if (MI_DEBUG)
// use our own assertion to print without memory allocation