mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.2312: build failure with Ruby 3.0 and 32 bits
Problem: Build failure with Ruby 3.0 and 32 bits. Solution: Add #ifdef. (closes #7638)
This commit is contained in:
parent
17126b1396
commit
467b59c2eb
@ -612,11 +612,13 @@ rb_check_type_stub(VALUE obj, int t)
|
|||||||
{
|
{
|
||||||
dll_rb_check_type(obj, t);
|
dll_rb_check_type(obj, t);
|
||||||
}
|
}
|
||||||
|
# if VIM_SIZEOF_INT < VIM_SIZEOF_LONG // 64 bits only
|
||||||
unsigned long
|
unsigned long
|
||||||
rb_num2uint_stub(VALUE x)
|
rb_num2uint_stub(VALUE x)
|
||||||
{
|
{
|
||||||
return dll_rb_num2uint(x);
|
return dll_rb_num2uint(x);
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
void
|
void
|
||||||
ruby_malloc_size_overflow_stub(size_t x, size_t y)
|
ruby_malloc_size_overflow_stub(size_t x, size_t y)
|
||||||
{
|
{
|
||||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2312,
|
||||||
/**/
|
/**/
|
||||||
2311,
|
2311,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user