summaryrefslogtreecommitdiff
path: root/src/common/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/malloc.c')
-rw-r--r--src/common/malloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/malloc.c b/src/common/malloc.c
index fad5183d1..ed5fb2e44 100644
--- a/src/common/malloc.c
+++ b/src/common/malloc.c
@@ -1,3 +1,4 @@
+#if !defined(DMALLOC) && !defined(GCOLLECT) && !defined(BCHECK)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -49,3 +50,4 @@ void * _bcalloc(size_t size, size_t cnt) {
memset(ret, 0, size * cnt);
return ret;
}
+#endif