mirror of
https://github.com/curl/curl.git
synced 2026-08-26 15:13:34 +03:00
tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP
Rename internal macro to make its purpose more obvious. After this patch `grep -i uwp` shows all the code related to UWP. Ref: https://curl.se/mail/lib-2024-09/0014.html Closes #14881
This commit is contained in:
parent
445fb81237
commit
bc2f72b9ae
20 changed files with 33 additions and 33 deletions
|
|
@ -103,7 +103,7 @@ int Curl_thread_join(curl_thread_t *hnd)
|
|||
#elif defined(USE_THREADS_WIN32)
|
||||
|
||||
curl_thread_t Curl_thread_create(
|
||||
#if defined(_WIN32_WCE) || defined(CURL_WINDOWS_APP)
|
||||
#if defined(_WIN32_WCE) || defined(CURL_WINDOWS_UWP)
|
||||
DWORD
|
||||
#else
|
||||
unsigned int
|
||||
|
|
@ -111,14 +111,14 @@ curl_thread_t Curl_thread_create(
|
|||
(CURL_STDCALL *func) (void *),
|
||||
void *arg)
|
||||
{
|
||||
#if defined(_WIN32_WCE) || defined(CURL_WINDOWS_APP)
|
||||
#if defined(_WIN32_WCE) || defined(CURL_WINDOWS_UWP)
|
||||
typedef HANDLE curl_win_thread_handle_t;
|
||||
#else
|
||||
typedef uintptr_t curl_win_thread_handle_t;
|
||||
#endif
|
||||
curl_thread_t t;
|
||||
curl_win_thread_handle_t thread_handle;
|
||||
#if defined(_WIN32_WCE) || defined(CURL_WINDOWS_APP)
|
||||
#if defined(_WIN32_WCE) || defined(CURL_WINDOWS_UWP)
|
||||
thread_handle = CreateThread(NULL, 0, func, arg, 0, NULL);
|
||||
#else
|
||||
thread_handle = _beginthreadex(NULL, 0, func, arg, 0, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue