path: root/dln.c
diff options
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-05 05:16:46 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-06-05 05:16:46 +0000
commit6ab08d2e8dd0c382d41e477f8255d7d6e4e67d9b (patch)
treeeb5005287a495637cb849619d43dd717e0bcb4ad /dln.c
parent3105141c7d7a02af9b724dfa6374f4579a9eff02 (diff), missing.h: jemalloc mangling
* (with-jemalloc): also check for header, for ABIs which JEMALLOC_MANGLE is needed, i.e., Mach-O and PE-COFF platforms. [ruby-core:62939] [Feature #9113] * include/ruby/missing.h: include alternative malloc header to replace memory management functions. * dln.c, io.c, parse.y, st.c: undef malloc family before re-definition to suppress warnings. git-svn-id: svn+ssh:// b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
1 files changed, 1 insertions, 0 deletions
diff --git a/dln.c b/dln.c
index b3522f111c7..25e40cf1e65 100644
--- a/dln.c
+++ b/dln.c
@@ -47,6 +47,7 @@ void *xcalloc();
void *xrealloc();
+#undef free
#define free(x) xfree(x)
#include <stdio.h>