1
0
Fork 0
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:
Samuel Williams 2019-06-24 14:24:49 +12:00
parent 0b36c90e12
commit a071bed7a5

2
cont.c
View file

@ -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)