dedupe curl_win_thread_handle_t typedef into curl_setup.h

This commit is contained in:
Viktor Szakats 2025-08-01 21:57:29 +02:00
parent 08eb26241a
commit 4d825c74d4
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
5 changed files with 2 additions and 12 deletions

View file

@ -624,7 +624,6 @@ void install_signal_handlers(bool keep_sigalrm)
#if !defined(CURL_WINDOWS_UWP) && !defined(UNDER_CE)
{
typedef uintptr_t curl_win_thread_handle_t;
curl_win_thread_handle_t thread;
thread = _beginthreadex(NULL, 0, &main_window_loop,
(void *)GetModuleHandle(NULL), 0, &thread_main_id);