mirror of
https://github.com/curl/curl.git
synced 2026-06-15 01:16:06 +03:00
move CURL_THREAD_RETURN_T to curl_setup.h
This commit is contained in:
parent
ce62f0f9a1
commit
7375d4993c
2 changed files with 6 additions and 6 deletions
|
|
@ -640,6 +640,12 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(CURL_WINDOWS_UWP) || defined(UNDER_CE)
|
||||
#define CURL_THREAD_RETURN_T DWORD
|
||||
#else
|
||||
#define CURL_THREAD_RETURN_T unsigned int
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Arg 2 type for gethostname in case it has not been defined in config file.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -51,12 +51,6 @@
|
|||
# define CURL_STDCALL
|
||||
#endif
|
||||
|
||||
#if defined(CURL_WINDOWS_UWP) || defined(UNDER_CE)
|
||||
#define CURL_THREAD_RETURN_T DWORD
|
||||
#else
|
||||
#define CURL_THREAD_RETURN_T unsigned int
|
||||
#endif
|
||||
|
||||
#if defined(USE_THREADS_POSIX) || defined(USE_THREADS_WIN32)
|
||||
|
||||
curl_thread_t Curl_thread_create(CURL_THREAD_RETURN_T
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue