diff --git a/src/if_ruby.c b/src/if_ruby.c index bf7aa1aae0..24814a2326 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -506,7 +506,11 @@ SIGNED_VALUE rb_num2long_stub(VALUE x) { return dll_rb_num2long(x); } +# if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 26 +VALUE rb_int2big_stub(intptr_t x) +# else VALUE rb_int2big_stub(SIGNED_VALUE x) +# endif { return dll_rb_int2big(x); } diff --git a/src/version.c b/src/version.c index 3e0dc7e9f3..3d24067e40 100644 --- a/src/version.c +++ b/src/version.c @@ -783,6 +783,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 871, /**/ 870, /**/