mirror of
https://github.com/curl/curl.git
synced 2026-08-26 23:04:24 +03:00
add and use thread callconv macro
This commit is contained in:
parent
821d6c0a29
commit
784fc23958
5 changed files with 8 additions and 4 deletions
|
|
@ -35,7 +35,7 @@
|
|||
# define Curl_mutex_release(m) pthread_mutex_unlock(m)
|
||||
# define Curl_mutex_destroy(m) pthread_mutex_destroy(m)
|
||||
#elif defined(USE_THREADS_WIN32)
|
||||
# define CURL_STDCALL __stdcall
|
||||
# define CURL_STDCALL CURL_WIN_THREADFUNC
|
||||
# define curl_mutex_t CRITICAL_SECTION
|
||||
# define curl_thread_t HANDLE
|
||||
# define curl_thread_t_null (HANDLE)0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue