From 6ab08d2e8dd0c382d41e477f8255d7d6e4e67d9b Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 5 Jun 2014 05:16:46 +0000 Subject: configure.in, missing.h: jemalloc mangling * configure.in (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://ci.ruby-lang.org/ruby/trunk@46354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dln.c | 1 + 1 file changed, 1 insertion(+) (limited to 'dln.c') diff --git a/dln.c b/dln.c index b3522f111c..25e40cf1e6 100644 --- a/dln.c +++ b/dln.c @@ -47,6 +47,7 @@ void *xcalloc(); void *xrealloc(); #endif +#undef free #define free(x) xfree(x) #include -- cgit v1.2.3