From a5b607c895adfb751c273e51fea101935d94e103 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 16 May 2000 02:46:57 +0000 Subject: remove configure from repositry git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- st.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'st.c') diff --git a/st.c b/st.c index 2ce868d64c..e7bd0ecf52 100644 --- a/st.c +++ b/st.c @@ -45,11 +45,18 @@ static struct st_hash_type type_strhash = { strhash, }; -#ifndef xmalloc +#ifdef RUBY_PLATFORM +#define xmalloc ruby_xmalloc +#define xcalloc ruby_xcalloc +#define xrealloc ruby_xrealloc +#define xfree ruby_xfree + void *xmalloc(); void *xcalloc(); void *xrealloc(); +void xfree(); #endif + static void rehash(); #define alloc(type) (type*)xmalloc((unsigned)sizeof(type)) -- cgit v1.2.1