From 8b0053606263878a545345d2f386c6c5189c6359 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 4 Sep 2025 02:12:38 +0200 Subject: [PATCH] nope --- tests/libtest/lib3207.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/libtest/lib3207.c b/tests/libtest/lib3207.c index e3b50ff40f..310629a9be 100644 --- a/tests/libtest/lib3207.c +++ b/tests/libtest/lib3207.c @@ -68,11 +68,13 @@ static size_t write_memory_callback(char *contents, size_t size, return realsize; } +static #if defined(USE_THREADS_POSIX) || defined(USE_THREADS_WIN32) -static CURL_THREAD_RETURN_T CURL_STDCALL test_thread(void *ptr) +CURL_THREAD_RETURN_T CURL_STDCALL #else -static unsigned int test_thread(void *ptr) +unsigned int #endif +test_thread(void *ptr) { struct Ctx *ctx = (struct Ctx *)ptr; CURLcode res = CURLE_OK;