git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4445020
)
use rfx_alloc if available
author
kramm
<kramm>
Thu, 8 May 2008 08:11:16 +0000
(08:11 +0000)
committer
kramm
<kramm>
Thu, 8 May 2008 08:11:16 +0000
(08:11 +0000)
lib/art/art_misc.h
patch
|
blob
|
history
diff --git
a/lib/art/art_misc.h
b/lib/art/art_misc.h
index
f8d5053
..
4ad22db
100644
(file)
--- a/
lib/art/art_misc.h
+++ b/
lib/art/art_misc.h
@@
-34,9
+34,16
@@
#include "art_config.h"
#endif
#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
#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
/* These aren't, strictly speaking, configuration macros, but they're
damn handy to have around, and may be worth playing with for