summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-16 12:14:52 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-09-16 12:14:52 (GMT)
commit7ed700d2da9914528b5f1be45adadb1666ad36f4 (patch)
tree84f1d9b5f2437becc2e2dfab5087079c5508c4de /vm_core.h
parenta2dce5c60ad47282a6ab0aff1796dcc2665baa7c (diff)
vm_core.h: revert VM objspace on Windows
* vm_core.h (ENABLE_VM_OBJSPACE): disable now, as socklist and conlist will be freed exit_handler(), after object space destruction. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 8c44b2d..4b7d946 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -49,8 +49,17 @@
#endif
#ifndef ENABLE_VM_OBJSPACE
+#ifdef _WIN32
+/*
+ * TODO: object space independent st_table.
+ * socklist and conlist will be freed exit_handler(), after object
+ * space destruction.
+ */
+#define ENABLE_VM_OBJSPACE 0
+#else
#define ENABLE_VM_OBJSPACE 1
#endif
+#endif
#include <setjmp.h>
#include <signal.h>