Enabled dlmalloc DEBUG mode in the debug build.
This commit is contained in:
@@ -1466,7 +1466,8 @@ DLMALLOC_EXPORT int mspace_mallopt(int, int);
|
||||
#ifndef LACKS_ERRNO_H
|
||||
#include <errno.h> /* for MALLOC_FAILURE_ACTION */
|
||||
#endif /* LACKS_ERRNO_H */
|
||||
#ifdef DEBUG
|
||||
#ifdef _DEBUG
|
||||
#define DEBUG 1
|
||||
#if ABORT_ON_ASSERT_FAILURE
|
||||
#undef assert
|
||||
#define assert(x) if(!(x)) ABORT
|
||||
|
||||
Reference in New Issue
Block a user