From: Julien Chevalier Date: Mon, 17 Aug 2009 19:57:06 +0000 (-0400) Subject: gc: disable Boehm general malloc and calloc overtaking X-Git-Tag: v0.3~47 X-Git-Url: http://nitlanguage.org gc: disable Boehm general malloc and calloc overtaking Trivially-hacked-by: Jean Privat Signed-off-by: Julien Chevalier Signed-off-by: Jean Privat --- 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 */