diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-05 14:41:41 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-05 14:41:41 +0000 |
commit | 5e9b9ff9cb1f7897eb08c1d4f22ae0e206340f49 (patch) | |
tree | 560ebdb5f50a90e9f87cab76cdfdcb5547345a74 /vm.c | |
parent | 437af4f46fdc54cd348779f65bc12d2c962f1b18 (diff) | |
download | ruby-5e9b9ff9cb1f7897eb08c1d4f22ae0e206340f49.tar.gz |
* gc.c (rb_objspace_alloc): this function is needed only when
ENABLE_VM_OBJSPACE macro is defined.
* vm.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1728,7 +1728,9 @@ Init_VM(void) vm_init_redefined_flag(); } +#if defined(ENABLE_VM_OBJSPACE) && ENABLE_VM_OBJSPACE struct rb_objspace *rb_objspace_alloc(void); +#endif void Init_BareVM(void) |