summaryrefslogtreecommitdiff
path: root/compar.c
diff options
context:
space:
mode:
Diffstat (limited to 'compar.c')
-rw-r--r--compar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compar.c b/compar.c
index 55b217a..b028a25 100644
--- a/compar.c
+++ b/compar.c
@@ -198,6 +198,8 @@ cmp_between(VALUE x, VALUE min, VALUE max)
void
Init_Comparable(void)
{
+#undef rb_intern
+
rb_mComparable = rb_define_module("Comparable");
rb_define_method(rb_mComparable, "==", cmp_equal, 1);
rb_define_method(rb_mComparable, ">", cmp_gt, 1);