From 2a6af208d6638103d4ca285f7a0f5e3fa5afa75a Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 1 Jan 2016 18:10:27 +0100 Subject: [PATCH] Comment this, so OSX can compile --- src/lib/util/corealloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/util/corealloc.h b/src/lib/util/corealloc.h index 5cd481824ed..b28a88f0540 100644 --- a/src/lib/util/corealloc.h +++ b/src/lib/util/corealloc.h @@ -91,7 +91,7 @@ extern const zeromem_t zeromem; #undef free #define malloc(x) malloc_file_line(x, __FILE__, __LINE__, true, false, false) -#define realloc(x,y) __error_realloc_is_dangerous__ +//#define realloc(x,y) __error_realloc_is_dangerous__ #define free(x) free_file_line(x, __FILE__, __LINE__, true) #if !defined(_MSC_VER) || _MSC_VER < 1900 // < VS2015