summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
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>