aboutsummaryrefslogtreecommitdiffstats
path: root/missing
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-05 04:26:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-05 04:26:20 +0000
commit789f9c22042eabaabde09cbbe80b6c73fb11efe0 (patch)
treecfea98e989a954ca748dbaea8b4ecbd500d87c6d /missing
parent3f443e6115cb4502f200db53e231487f83555d72 (diff)
downloadruby-789f9c22042eabaabde09cbbe80b6c73fb11efe0.tar.gz
* missing/alloca.c (xmalloc, xfree): use ruby version, not
depending on RUBY_LIB_PREFIX. [ruby-dev:45492][Bug #6255] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing')
-rw-r--r--missing/alloca.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/missing/alloca.c b/missing/alloca.c
index 960cda0c32..96121f7647 100644
--- a/missing/alloca.c
+++ b/missing/alloca.c
@@ -58,10 +58,8 @@ typedef char *pointer; /* generic pointer type */
#define NULL 0 /* null pointer constant */
#endif
-#ifdef RUBY_LIB_PREFIX
#define xmalloc ruby_xmalloc
#define xfree ruby_xfree
-#endif
extern void xfree();
extern pointer xmalloc();