mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.4.534
Problem: Warnings when compiling if_ruby.c. Solution: Avoid the warnings. (Ken Takata)
This commit is contained in:
@@ -422,7 +422,7 @@ VALUE rb_num2ulong(VALUE x)
|
|||||||
# if defined(USE_RGENGC) && USE_RGENGC && !defined(PROTO)
|
# 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);
|
dll_rb_gc_writebarrier_unprotect_promoted(obj);
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
@@ -763,7 +763,8 @@ static int ensure_ruby_initialized(void)
|
|||||||
/* suggested by Ariya Mizutani */
|
/* suggested by Ariya Mizutani */
|
||||||
int argc = 1;
|
int argc = 1;
|
||||||
char *argv[] = {"gvim.exe"};
|
char *argv[] = {"gvim.exe"};
|
||||||
NtInitialize(&argc, &argv);
|
char **argvp = argv;
|
||||||
|
NtInitialize(&argc, &argvp);
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
#if defined(RUBY19_OR_LATER) || defined(RUBY_INIT_STACK)
|
#if defined(RUBY19_OR_LATER) || defined(RUBY_INIT_STACK)
|
||||||
|
@@ -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 */
|
||||||
|
/**/
|
||||||
|
534,
|
||||||
/**/
|
/**/
|
||||||
533,
|
533,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user