aboutsummaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/object.c b/object.c
index 4610070a3c..f6f764af7f 100644
--- a/object.c
+++ b/object.c
@@ -142,6 +142,7 @@ rb_obj_equal(VALUE obj1, VALUE obj2)
return Qfalse;
}
+#if 0
/*
* call-seq:
* obj.hash -> fixnum
@@ -171,6 +172,9 @@ rb_obj_hash(VALUE obj)
#endif
return LONG2FIX(rb_objid_hash(index));
}
+#else
+VALUE rb_obj_hash(VALUE obj);
+#endif
/*
* call-seq: