diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-06-12 18:32:12 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-06-12 18:32:12 +0000 |
commit | 0cb02efd0e2e2c80667863fd404d1fad7c63bb1f (patch) | |
tree | 252c38d5ba0f31be4b9f96c62813204a76b62adc /ext/unicorn_http | |
parent | 97dca61543683b286eac41c6fb2665e5a13098c6 (diff) | |
download | unicorn-0cb02efd0e2e2c80667863fd404d1fad7c63bb1f.tar.gz |
Diffstat (limited to 'ext/unicorn_http')
-rw-r--r-- | ext/unicorn_http/ext_help.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/unicorn_http/ext_help.h b/ext/unicorn_http/ext_help.h index cc157cb..3aa24a8 100644 --- a/ext/unicorn_http/ext_help.h +++ b/ext/unicorn_http/ext_help.h @@ -22,6 +22,7 @@ static void rb_18_str_set_len(VALUE str, long len) RSTRING(str)->len = len; RSTRING(str)->ptr[len] = '\0'; } +# define rb_str_set_len(str,len) rb_18_str_set_len(str,len) #endif /* !defined(HAVE_RB_STR_SET_LEN) */ /* not all Ruby implementations support frozen objects (Rubinius does not) */ |