From 2b2c6911887d46be7cbfc8520e8cb5ed1843bc12 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 7 Sep 2015 07:50:11 +0000 Subject: vm_core.h: objspace always * vm_core.h (rb_vm_struct): define objspace always regardless ENABLE_VM_OBJSPACE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'vm.c') diff --git a/vm.c b/vm.c index 37eee294cc..951165694a 100644 --- a/vm.c +++ b/vm.c @@ -2784,10 +2784,6 @@ rb_vm_set_progname(VALUE filename) RB_OBJ_WRITE(cfp->iseq, &cfp->iseq->body->location.path, filename); } -#if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE -struct rb_objspace *rb_objspace_alloc(void); -#endif - extern const struct st_hash_type rb_fstring_hash_type; void -- cgit v1.2.3