summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-16 08:18:02 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-16 08:18:02 (GMT)
commitc3a48736a6000b64967680cfbd0d5058467a767e (patch)
tree874a2c37179f6381e300bdee1b0a8829936a378d /vm_core.h
parent077e2037ebe23bee105442779182c7ef0ba85916 (diff)
vm_core.h: enable VM objspace on Windows
* vm_core.h (ENABLE_VM_OBJSPACE): enable per-VM object space on Windows by default, as rb_w32_sysinit() no longer depends on ruby_xmalloc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/vm_core.h b/vm_core.h
index 735d3f4..8c44b2d 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -49,19 +49,8 @@
#endif
#ifndef ENABLE_VM_OBJSPACE
-#ifdef _WIN32
-/*
- * TODO: object space independent st_table.
- * socklist needs st_table in rb_w32_sysinit(), before object space
- * initialization.
- * It is too early now to change st_hash_type, since it breaks binary
- * compatibility.
- */
-#define ENABLE_VM_OBJSPACE 0
-#else
#define ENABLE_VM_OBJSPACE 1
#endif
-#endif
#include <setjmp.h>
#include <signal.h>