Print warning if not using native coroutine.
This commit is contained in:
parent
0b36c90e12
commit
a071bed7a5
2
cont.c
2
cont.c
@ -45,6 +45,8 @@
|
|||||||
#ifdef FIBER_USE_COROUTINE
|
#ifdef FIBER_USE_COROUTINE
|
||||||
#include FIBER_USE_COROUTINE
|
#include FIBER_USE_COROUTINE
|
||||||
#define FIBER_USE_NATIVE 1
|
#define FIBER_USE_NATIVE 1
|
||||||
|
#else
|
||||||
|
#pragma message "Native coroutine not available!"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(FIBER_USE_NATIVE)
|
#if !defined(FIBER_USE_NATIVE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user