Commit 84553f12 authored by Aman Gupta's avatar Aman Gupta

fix ruby 2.0 compat (closes #36)

parent 9bba5dba
......@@ -39,6 +39,9 @@
#ifndef RSTRING_LEN
#define RSTRING_LEN(str) RSTRING(str)->len
#endif
#ifndef RBASIC_CLASS
#define RBASIC_CLASS(obj) (RBASIC(obj)->klass)
#endif
#ifdef __FreeBSD__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment