0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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)
This commit is contained in:
Bram Moolenaar
2019-02-03 15:18:35 +01:00
parent aa5df7e312
commit 63d1fea814
2 changed files with 6 additions and 0 deletions

View File

@@ -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);
}

View File

@@ -783,6 +783,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
871,
/**/
870,
/**/