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:
parent
8299027f2e
commit
3c45a56746
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue