summaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/thread.c b/thread.c
index 298d1c1dd..522c786c4 100644
--- a/thread.c
+++ b/thread.c
@@ -3167,6 +3167,8 @@ ruby_suppress_tracing(VALUE (*func)(VALUE, int), VALUE arg, int always)
void
Init_Thread(void)
{
+#undef rb_intern
+
VALUE cThGroup;
rb_define_singleton_method(rb_cThread, "new", thread_s_new, -1);