summaryrefslogtreecommitdiffstats
path: root/regint.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-25 10:50:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-25 10:50:52 +0000
commitc5845a63ca63eaa24b23ab69670e337380dafeeb (patch)
treebcb85c6522476e05a46c3d79c105723cbfcc3fff /regint.h
parentd065c53f830e6ddfab5bf66795ce99759f0f596a (diff)
downloadruby-c5845a63ca63eaa24b23ab69670e337380dafeeb.tar.gz
ruby-c5845a63ca63eaa24b23ab69670e337380dafeeb.tar.xz
ruby-c5845a63ca63eaa24b23ab69670e337380dafeeb.zip
* regint.c (xmalloc, xrealloc, xfree): not to use ruby managed memory.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regint.h')
-rw-r--r--regint.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/regint.h b/regint.h
index 63d9a12a2..e6c499ac7 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