Blame vim-ruby30ftbfs.patch
|
Zdenek Dohnal |
e99dfd |
diff --git a/src/if_ruby.c b/src/if_ruby.c
|
|
Zdenek Dohnal |
e99dfd |
index 9e5890214..a8c8379b6 100644
|
|
Zdenek Dohnal |
e99dfd |
--- a/src/if_ruby.c
|
|
Zdenek Dohnal |
e99dfd |
+++ b/src/if_ruby.c
|
|
Zdenek Dohnal |
e99dfd |
@@ -612,11 +612,13 @@ rb_check_type_stub(VALUE obj, int t)
|
|
Zdenek Dohnal |
e99dfd |
{
|
|
Zdenek Dohnal |
e99dfd |
dll_rb_check_type(obj, t);
|
|
Zdenek Dohnal |
e99dfd |
}
|
|
Zdenek Dohnal |
e99dfd |
+# if VIM_SIZEOF_INT < VIM_SIZEOF_LONG // 64 bits only
|
|
Zdenek Dohnal |
e99dfd |
unsigned long
|
|
Zdenek Dohnal |
e99dfd |
rb_num2uint_stub(VALUE x)
|
|
Zdenek Dohnal |
e99dfd |
{
|
|
Zdenek Dohnal |
e99dfd |
return dll_rb_num2uint(x);
|
|
Zdenek Dohnal |
e99dfd |
}
|
|
Zdenek Dohnal |
e99dfd |
+# endif
|
|
Zdenek Dohnal |
e99dfd |
void
|
|
Zdenek Dohnal |
e99dfd |
ruby_malloc_size_overflow_stub(size_t x, size_t y)
|
|
Zdenek Dohnal |
e99dfd |
{
|