diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-12-17 19:18:21 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-12-26 20:09:06 -0700 |
commit | 1aecc70750ee6ce9c96ebf3e6b4a7fb322ff8ca3 (patch) | |
tree | 1e2c607ae9980b47917effe4203b4448a1dd4c5f /libcr/coroutine.c | |
parent | c7a0d6de46610ac9ceaea5afe1b7983550fc1be6 (diff) |
Build the full matrix of CMAKE_BUILD_TYPE
Diffstat (limited to 'libcr/coroutine.c')
-rw-r--r-- | libcr/coroutine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcr/coroutine.c b/libcr/coroutine.c index 32253c8..129f4da 100644 --- a/libcr/coroutine.c +++ b/libcr/coroutine.c @@ -761,6 +761,7 @@ cid_t cr_getcid(void) { return coroutine_running; } +#ifndef NDEBUG void cr_assert_in_coroutine(void) { assert(!cr_plat_is_in_intrhandler()); assert_cid_state(coroutine_running, state == CR_RUNNING); @@ -769,6 +770,7 @@ void cr_assert_in_coroutine(void) { void cr_assert_in_intrhandler(void) { assert(cr_plat_is_in_intrhandler()); } +#endif /* cr_cid_info() **************************************************************/ |