summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-11-24 13:39:00 +0100
committerBram Moolenaar <Bram@vim.org>2012-11-24 13:39:00 +0100
commitff8cf2be6668d6e4091941659e84ee13f0f13542 (patch)
tree54f1afcfba6862d23d873bca07b4f5b7082ec4d7
parentfe9fb927ae66917813974a16f766e98133b1925b (diff)
downloadvim-git-ff8cf2be6668d6e4091941659e84ee13f0f13542.tar.gz
updated for version 7.3.729v7.3.729
Problem: Building with Ruby fails on some systems. Solution: Remove "static" and add #ifndef PROTO. (Ken Takata)
-rw-r--r--src/if_ruby.c6
-rw-r--r--src/version.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c
index bc15b4a6d..4ae2d90d1 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -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);
}
diff --git a/src/version.c b/src/version.c
index e59d8e30a..23d9c07ba 100644
--- a/src/version.c
+++ b/src/version.c
@@ -726,6 +726,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 729,
+/**/
728,
/**/
727,