malloc: Add flag for conditionally zeroing for INVARIANTS builds
This commit is contained in:
parent
4560b78de2
commit
b17fbe5bf6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user