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 --- hash.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hash.c') diff --git a/hash.c b/hash.c index b5a0c685b5..89139e852f 100644 --- a/hash.c +++ b/hash.c @@ -2564,6 +2564,8 @@ env_update(VALUE env, VALUE hash) void Init_Hash(void) { +#undef rb_intern + id_hash = rb_intern("hash"); id_yield = rb_intern("yield"); id_default = rb_intern("default"); -- cgit v1.2.3