summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 1dbf2ecabb..d0c25929f0 100644
--- a/vm.c
+++ b/vm.c
@@ -1756,7 +1756,8 @@ thread_memsize(const void *ptr)
}
}
-const rb_data_type_t thread_data_type = {
+#define thread_data_type ruby_thread_data_type
+const rb_data_type_t ruby_thread_data_type = {
"VM/thread",
{
rb_thread_mark,