Commit 5e4bb136 authored by Boxiang Sun's avatar Boxiang Sun

Disable the static_assert for compatible with older gcc

parent 7553d08b
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
#define CORO_STACK_MIN ((3 * (PTHREAD_STACK_MIN)) / 2) #define CORO_STACK_MIN ((3 * (PTHREAD_STACK_MIN)) / 2)
static_assert(DEFAULT_BUFFER_SIZE < (CORO_STACK_MIN + PTHREAD_STACK_MIN), // static_assert(DEFAULT_BUFFER_SIZE < (CORO_STACK_MIN + PTHREAD_STACK_MIN),
"Request buffer fits inside coroutine stack"); // "Request buffer fits inside coroutine stack");
typedef void (*defer_func)(); typedef void (*defer_func)();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment