mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Print warning if not using native coroutine.
This commit is contained in:
parent
0b36c90e12
commit
a071bed7a5
1 changed files with 2 additions and 0 deletions
2
cont.c
2
cont.c
|
@ -45,6 +45,8 @@
|
|||
#ifdef FIBER_USE_COROUTINE
|
||||
#include FIBER_USE_COROUTINE
|
||||
#define FIBER_USE_NATIVE 1
|
||||
#else
|
||||
#pragma message "Native coroutine not available!"
|
||||
#endif
|
||||
|
||||
#if !defined(FIBER_USE_NATIVE)
|
||||
|
|
Loading…
Add table
Reference in a new issue