ext/oj/oj.h in oj-1.0.1 vs ext/oj/oj.h in oj-1.0.2
- old
+ new
@@ -36,9 +36,11 @@
#if 0
} /* satisfy cc-mode */
#endif
#endif
+#define RSTRING_NOT_MODIFIED
+
#include "ruby.h"
#ifdef HAVE_RUBY_ENCODING_H
// HAVE_RUBY_ENCODING_H defined for Ruby 1.9
#define IVAR_HELPERS 1
#include "ruby/encoding.h"