1
0
forked from aniani/vim

updated for version 7.4.511

Problem:    Generating proto for if_ruby.c uses type not defined elsewhere.
Solution:   Do not generate a prototype for
            rb_gc_writebarrier_unprotect_promoted()
This commit is contained in:
Bram Moolenaar
2014-11-12 16:05:04 +01:00
parent b103138b1e
commit 3e9a161496
2 changed files with 4 additions and 1 deletions

View File

@@ -418,7 +418,8 @@ VALUE rb_num2ulong(VALUE x)
# endif # endif
# endif # endif
# if defined(USE_RGENGC) && USE_RGENGC /* Do not generate a prototype here, VALUE isn't always defined. */
# if defined(USE_RGENGC) && USE_RGENGC && !defined(PROTO)
void rb_gc_writebarrier_unprotect_promoted_stub(VALUE obj) void rb_gc_writebarrier_unprotect_promoted_stub(VALUE obj)
{ {
return dll_rb_gc_writebarrier_unprotect_promoted(obj); return dll_rb_gc_writebarrier_unprotect_promoted(obj);

View File

@@ -741,6 +741,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 */
/**/
511,
/**/ /**/
510, 510,
/**/ /**/