aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fluent-bit/10-def-core-stack-size.patch
blob: 29bda6feb6e1957919a4b760a301aebff15beef4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/include/fluent-bit/flb_coro.h
+++ b/include/fluent-bit/flb_coro.h
@@ -62,9 +62,7 @@
     void *data;
 };
 
-#ifdef FLB_CORO_STACK_SIZE
-#define FLB_CORO_STACK_SIZE      FLB_CORO_STACK_SIZE
-#else
+#ifndef FLB_CORO_STACK_SIZE
 #define FLB_CORO_STACK_SIZE      ((3 * PTHREAD_STACK_MIN) / 2)
 #endif