From: kramm Date: Thu, 8 May 2008 08:11:16 +0000 (+0000) Subject: use rfx_alloc if available X-Git-Tag: buttons-working~228 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=a706e8b4ab0901189a12c66686f3e7f02691817b use rfx_alloc if available --- 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