mirror of
https://github.com/curl/curl.git
synced 2026-07-30 05:48:03 +03:00
try moving win32 to CreateThread() API 1
This commit is contained in:
parent
cf275232b1
commit
7b0a826158
1 changed files with 1 additions and 6 deletions
|
|
@ -640,18 +640,13 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(CURL_WINDOWS_UWP) || defined(UNDER_CE)
|
||||
#ifdef _WIN32
|
||||
#define CURL_THREAD_RETURN_T DWORD
|
||||
#define CURL_WIN_THREADFUNC WINAPI
|
||||
typedef HANDLE curl_win_thread_handle_t;
|
||||
#define CURL_WIN_BEGINTHREAD CreateThread
|
||||
#else
|
||||
#define CURL_THREAD_RETURN_T unsigned int
|
||||
#ifdef _WIN32
|
||||
#define CURL_WIN_THREADFUNC __stdcall
|
||||
typedef uintptr_t curl_win_thread_handle_t;
|
||||
#define CURL_WIN_BEGINTHREAD _beginthreadex
|
||||
#endif /* _WIN32 */
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue