From c68970e268e476a7789c5006440b422cff9d4a78 Mon Sep 17 00:00:00 2001 From: Enrico Giordani Date: Thu, 11 Jun 2015 15:30:04 +0200 Subject: [PATCH] Enabled dlmalloc DEBUG mode in the debug build. --- src/Win32_Interop/Win32_dlmalloc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Win32_Interop/Win32_dlmalloc.c b/src/Win32_Interop/Win32_dlmalloc.c index b4559c8e..213378b2 100644 --- a/src/Win32_Interop/Win32_dlmalloc.c +++ b/src/Win32_Interop/Win32_dlmalloc.c @@ -1466,7 +1466,8 @@ DLMALLOC_EXPORT int mspace_mallopt(int, int); #ifndef LACKS_ERRNO_H #include /* 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