Problem: Generating proto for if_ruby.c uses type not defined elsewhere.
Solution: Do not generate a prototype for
rb_gc_writebarrier_unprotect_promoted()
# 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)
{
return dll_rb_gc_writebarrier_unprotect_promoted(obj);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 511,
/**/
510,
/**/