diff options
Diffstat (limited to 'src/string.c')
| -rw-r--r-- | src/string.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/string.c b/src/string.c index 466c3dee9..183763bf2 100644 --- a/src/string.c +++ b/src/string.c @@ -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 |
