aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fluent-bit/10-def-core-stack-size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fluent-bit/10-def-core-stack-size.patch')
-rw-r--r--testing/fluent-bit/10-def-core-stack-size.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/fluent-bit/10-def-core-stack-size.patch b/testing/fluent-bit/10-def-core-stack-size.patch
new file mode 100644
index 0000000000..29bda6feb6
--- /dev/null
+++ b/testing/fluent-bit/10-def-core-stack-size.patch
@@ -0,0 +1,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
+