From 5a647a3f5fd011f8558c7f9e90cd65e70e73eb40 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 9 Jun 2008 09:25:32 +0000 Subject: * include/ruby/ruby.h (CONST_ID): constant ID cache for non-gcc. * *.c: no cache in init functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'array.c') diff --git a/array.c b/array.c index fdf1808753..fef44e462b 100644 --- a/array.c +++ b/array.c @@ -3400,6 +3400,8 @@ rb_ary_drop_while(VALUE ary) void Init_Array(void) { +#undef rb_intern + rb_cArray = rb_define_class("Array", rb_cObject); rb_include_module(rb_cArray, rb_mEnumerable); -- cgit v1.2.3