Enabled dlmalloc DEBUG mode in the debug build.

This commit is contained in:
Enrico Giordani
2015-06-11 15:30:04 +02:00
parent 1cf1db97ae
commit c68970e268
+2 -1
View File
@@ -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