Skip to content

Commit 63d1fea

Browse files
committed
patch 8.1.0871: build error when building with Ruby 2.6.0
Problem: Build error when building with Ruby 2.6.0. Solution: Change argument of rb_int2big_stub(). (Android Baumann, closes #3899)
1 parent aa5df7e commit 63d1fea

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/if_ruby.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,11 @@ SIGNED_VALUE rb_num2long_stub(VALUE x)
506506
{
507507
return dll_rb_num2long(x);
508508
}
509+
# if defined(DYNAMIC_RUBY_VER) && DYNAMIC_RUBY_VER >= 26
510+
VALUE rb_int2big_stub(intptr_t x)
511+
# else
509512
VALUE rb_int2big_stub(SIGNED_VALUE x)
513+
# endif
510514
{
511515
return dll_rb_int2big(x);
512516
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,8 @@ static char *(features[]) =
783783

784784
static int included_patches[] =
785785
{ /* Add new patch number below this line */
786+
/**/
787+
871,
786788
/**/
787789
870,
788790
/**/

0 commit comments

Comments
 (0)