From b944889484aa30d23123911dfab3c33ebc00f3e6 Mon Sep 17 00:00:00 2001 From: Julien Chevalier Date: Mon, 17 Aug 2009 15:57:06 -0400 Subject: [PATCH] gc: disable Boehm general malloc and calloc overtaking Trivially-hacked-by: Jean Privat Signed-off-by: Julien Chevalier Signed-off-by: Jean Privat --- clib/nit_common.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/clib/nit_common.h b/clib/nit_common.h index 8a7ca0c..8bf9cfc 100644 --- a/clib/nit_common.h +++ b/clib/nit_common.h @@ -18,14 +18,6 @@ #include #include -#ifdef WITH_LIBGC -#include -#define malloc(x) GC_MALLOC((x)) -#define calloc(x,y) GC_MALLOC((x)*(y)) -#endif - - - /* *** Types *** */ typedef signed long int bigint; /* standard int value, must be larger that any poiner */ typedef bigint (*fun_t) (bigint); /* generic function pointer */ -- 1.7.9.5