summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 6a5c31c922..9392ab5a1e 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -32,8 +32,19 @@
#endif
#ifndef ENABLE_VM_OBJSPACE
+#ifdef _WIN32
+/*
+ * TODO: object space indenpendent 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>