]> granicus.if.org Git - curl/commit
curl_threads: fix classic MinGW compile break
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Wed, 26 Sep 2018 12:43:58 +0000 (14:43 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Thu, 27 Sep 2018 07:13:20 +0000 (09:13 +0200)
commit7ae78feea3f7fe74e791af72dc3c124d20e7c062
tree43d4c3968631b356050115a6bc01ec5688f9f154
parent5616c1df285bef32e879f5e29fdf28c062e6506d
curl_threads: fix classic MinGW compile break

Classic MinGW still has _beginthreadex's return type as unsigned long
instead of uintptr_t [0]. uintptr_t is not even defined because of [1].

[0] https://sourceforge.net/p/mingw/mingw-org-wsl/ci/wsl-5.1-release/tree/mingwrt/include/process.h#l167
[1] https://sourceforge.net/p/mingw/mingw-org-wsl/ci/wsl-5.1-release/tree/mingwrt/include/process.h#l90

Bug: https://github.com/curl/curl/issues/2924#issuecomment-424334807
Closes https://github.com/curl/curl/pull/3051
lib/curl_threads.c