Commit 8b1a10ce authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

allow compilation without INCLUDE_ENCODING; close #105; encoding support...

allow compilation without INCLUDE_ENCODING; close #105; encoding support should be removed altogether in the future
parent 5684a383
......@@ -2388,6 +2388,13 @@ mrb_str_buf_append(mrb_state *mrb, mrb_value str, mrb_value str2)
return str;
}
#else
mrb_value
mrb_str_buf_append(mrb_state *mrb, mrb_value str, mrb_value str2)
{
mrb_str_cat(mrb, str, RSTRING_PTR(str2), RSTRING_LEN(str2));
return str;
}
#endif //INCLUDE_ENCODING
static inline void
......
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