This commit is contained in:
Viktor Szakats 2025-09-04 02:12:38 +02:00
parent ec1a1f438e
commit 8b00536062
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -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;