From f37a49e8c8f76eacfc8a5ce66040cc017dbe34ff Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 25 Jul 2008 10:50:52 +0000 Subject: * regint.c (xmalloc, xrealloc, xfree): not to use ruby managed memory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regint.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'regint.h') diff --git a/regint.h b/regint.h index 63d9a12a2d..e6c499ac7e 100644 --- a/regint.h +++ b/regint.h @@ -85,6 +85,10 @@ /* escape other system UChar definition */ #ifndef RUBY_DEFINES_H #include "ruby/ruby.h" +#undef xmalloc +#undef xrealloc +#undef xcalloc +#undef xfree #endif #ifdef ONIG_ESCAPE_UCHAR_COLLISION #undef ONIG_ESCAPE_UCHAR_COLLISION -- cgit v1.2.1