From a706e8b4ab0901189a12c66686f3e7f02691817b Mon Sep 17 00:00:00 2001 From: kramm Date: Thu, 8 May 2008 08:11:16 +0000 Subject: [PATCH] use rfx_alloc if available --- lib/art/art_misc.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/art/art_misc.h b/lib/art/art_misc.h index f8d5053..4ad22db 100644 --- a/lib/art/art_misc.h +++ b/lib/art/art_misc.h @@ -34,9 +34,16 @@ #include "art_config.h" #endif +#include "../mem.h" +#ifdef __mem_h__ +#define art_alloc rfx_alloc +#define art_free rfx_free +#define art_realloc rfx_realloc +#else #define art_alloc malloc #define art_free free #define art_realloc realloc +#endif /* These aren't, strictly speaking, configuration macros, but they're damn handy to have around, and may be worth playing with for -- 1.7.10.4