Mingw-w64 does not define _beginthreadex_proc_type, so we should replace it with unsigned (__stdcall *ThreadFunc)(void *).
fix https://github.com/clangd/clangd/issues/188
Details
Details
- Reviewers
sammccall ilya-biryukov - Commits
- rG3e54404c7156: [Support] fix mingw-w64 build
Diff Detail
Diff Detail
Event Timeline
Comment Actions
FWIW, the latest git version of mingw-w64 has this typedef (since llvm started using it here a couple weeks ago), but being able to compile with older versions might be good of course,