lib3207.c fix to not use thread-specific macros with no thread support

This commit is contained in:
Viktor Szakats 2025-09-03 23:35:59 +02:00
parent 48e86bc03f
commit dc44b3a01f
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -68,7 +68,11 @@ static size_t write_memory_callback(char *contents, size_t size,
return realsize;
}
#if defined(USE_THREADS_POSIX) || defined(USE_THREADS_WIN32)
static CURL_THREAD_RETURN_T CURL_STDCALL test_thread(void *ptr)
#else
static void test_thread(void *ptr)
#endif
{
struct Ctx *ctx = (struct Ctx *)ptr;
CURLcode res = CURLE_OK;