From f65d088b75574d62256b5ef111cadea70bf44ceb Mon Sep 17 00:00:00 2001 From: sachint <32639496+sachintu47@users.noreply.github.com> Date: Wed, 5 Mar 2025 13:51:05 +0530 Subject: [PATCH] Enable IBM z/OS support (#3277) --- src/jq_test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jq_test.c b/src/jq_test.c index dd6920a4..dbbc6484 100644 --- a/src/jq_test.c +++ b/src/jq_test.c @@ -382,7 +382,11 @@ static void run_jq_pthread_tests() { // wait for all threads for(a = 0; a < NUMBER_OF_THREADS; ++a) { +#ifdef __MVS__ + if (threads[a].__ != 0) { +#else if (threads[a] != 0) { +#endif pthread_join(threads[a], NULL); } }