1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

continuation.c: quiet static-linked-ext

* ext/continuation/continuation.c (Init_continuation): start
  quietly if statically linked.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-11-27 19:58:04 +00:00
parent 8299027f2e
commit 3c45a56746

View file

@ -6,6 +6,8 @@ void ruby_Init_Continuation_body(void);
void
Init_continuation(void)
{
#ifndef RUBY_EXPORT
rb_warn("callcc is obsolete; use Fiber instead");
#endif
ruby_Init_Continuation_body();
}