curl_setup.h fixup for non-WIN32

This commit is contained in:
Viktor Szakats 2025-08-01 22:35:28 +02:00
parent b6cbd00593
commit 821d6c0a29
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -646,8 +646,10 @@ typedef HANDLE curl_win_thread_handle_t;
#define CURL_WIN_BEGINTHREAD CreateThread
#else
#define CURL_THREAD_RETURN_T unsigned int
#ifdef _WIN32
typedef uintptr_t curl_win_thread_handle_t;
#define CURL_WIN_BEGINTHREAD _beginthreadex
#endif /* _WIN32 */
#endif
/*