summaryrefslogtreecommitdiff
path: root/src/if_ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_ruby.c')
-rw-r--r--src/if_ruby.c6
1 files changed, 3 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);
}