mirror of
https://github.com/curl/curl.git
synced 2026-06-15 01:16:06 +03:00
lib3207.c fix to not use thread-specific macros with no thread support
This commit is contained in:
parent
48e86bc03f
commit
dc44b3a01f
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue