summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys/malloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/sys/malloc.h')
-rw-r--r--freebsd/sys/sys/malloc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/freebsd/sys/sys/malloc.h b/freebsd/sys/sys/malloc.h
index 1920ff69..8c66fe81 100644
--- a/freebsd/sys/sys/malloc.h
+++ b/freebsd/sys/sys/malloc.h
@@ -59,6 +59,13 @@
#define M_MAGIC 877983977 /* time when first defined :-) */
+#ifdef INVARIANTS
+#define M_ZERO_INVARIANTS M_ZERO
+#else
+#define M_ZERO_INVARIANTS 0
+#endif
+
+
/*
* Two malloc type structures are present: malloc_type, which is used by a
* type owner to declare the type, and malloc_type_internal, which holds