From f37c23704cb73d57e9e478295d1641df1d9104c7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 14 Sep 2009 17:34:46 -0700 Subject: http: no-op rb_str_modify() for Rubies without it Rubinius has no rb_str_modify() function, it /may/ not need it. --- ext/unicorn_http/extconf.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/unicorn_http/extconf.rb') diff --git a/ext/unicorn_http/extconf.rb b/ext/unicorn_http/extconf.rb index 2bf0f48..164df66 100644 --- a/ext/unicorn_http/extconf.rb +++ b/ext/unicorn_http/extconf.rb @@ -6,4 +6,5 @@ dir_config("unicorn_http") have_macro("SIZEOF_OFF_T", "ruby.h") or check_sizeof("off_t", "sys/types.h") have_macro("SIZEOF_LONG", "ruby.h") or check_sizeof("long", "sys/types.h") have_func("rb_str_set_len", "ruby.h") +have_func("rb_str_modify", "ruby.h") create_makefile("unicorn_http") -- cgit v1.2.3-24-ge0c7