summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/librdkafka-2.1.0/packaging/cmake/try_compile/c11threads_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/lib/librdkafka-2.1.0/packaging/cmake/try_compile/c11threads_test.c')
-rw-r--r--fluent-bit/lib/librdkafka-2.1.0/packaging/cmake/try_compile/c11threads_test.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/fluent-bit/lib/librdkafka-2.1.0/packaging/cmake/try_compile/c11threads_test.c b/fluent-bit/lib/librdkafka-2.1.0/packaging/cmake/try_compile/c11threads_test.c
deleted file mode 100644
index 31681ae61..000000000
--- a/fluent-bit/lib/librdkafka-2.1.0/packaging/cmake/try_compile/c11threads_test.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <threads.h>
-
-static int start_func(void *arg) {
- int iarg = *(int *)arg;
- return iarg;
-}
-
-void main(void) {
- thrd_t thr;
- int arg = 1;
- if (thrd_create(&thr, start_func, (void *)&arg) != thrd_success) {
- ;
- }
-}