diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-19 08:46:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-19 08:46:48 +0000 |
commit | d0632c4188c66006747c148338c9040431e80d3e (patch) | |
tree | c7ac503ff5fc3eaa9c860d70374446c8a07f25b2 /vm_core.h | |
parent | 0820c654b26dd36145d1bd394ea58df80fc54918 (diff) | |
download | ruby-d0632c4188c66006747c148338c9040431e80d3e.tar.gz ruby-d0632c4188c66006747c148338c9040431e80d3e.tar.xz ruby-d0632c4188c66006747c148338c9040431e80d3e.zip |
* vm_core.h (ENABLE_VM_OBJSPACE): socklist needs st_table in
rb_w32_sysinit(), before object space initialization.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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> |