]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.729 v7.3.729
authorBram Moolenaar <Bram@vim.org>
Sat, 24 Nov 2012 12:39:00 +0000 (13:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 24 Nov 2012 12:39:00 +0000 (13:39 +0100)
Problem:    Building with Ruby fails on some systems.
Solution:   Remove "static" and add #ifndef PROTO. (Ken Takata)

src/if_ruby.c
src/version.c

index bc15b4a6d2de86a81b71f2c6aead10ceae9f494d..4ae2d90d122e3da99a4ed22850dc5d3496642f65 100644 (file)
@@ -335,12 +335,12 @@ static void (*ruby_init_stack)(VALUE*);
 static void* (*ruby_process_options)(int, char**);
 #endif
 
-#ifdef RUBY19_OR_LATER
-static SIGNED_VALUE rb_num2long_stub(VALUE x)
+#if defined(RUBY19_OR_LATER) && !defined(PROTO)
+SIGNED_VALUE rb_num2long_stub(VALUE x)
 {
     return dll_rb_num2long(x);
 }
-static VALUE rb_int2big_stub(SIGNED_VALUE x)
+VALUE rb_int2big_stub(SIGNED_VALUE x)
 {
     return dll_rb_int2big(x);
 }
index e59d8e30a584aea443fe1d0871786acdbc56b83f..23d9c07ba85bdd57a4e77480fe07635613862fab 100644 (file)
@@ -725,6 +725,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    729,
 /**/
     728,
 /**/