summaryrefslogtreecommitdiff
path: root/compar.c
diff options
context:
space:
mode:
Diffstat (limited to 'compar.c')
-rw-r--r--compar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/compar.c b/compar.c
index b028a25..633c5b5 100644
--- a/compar.c
+++ b/compar.c
@@ -199,6 +199,7 @@ void
Init_Comparable(void)
{
#undef rb_intern
+#define rb_intern(str) rb_intern_const(str)
rb_mComparable = rb_define_module("Comparable");
rb_define_method(rb_mComparable, "==", cmp_equal, 1);