[PATCH] D69879: [Support] fix mingw-w64 build

Ilya Biryukov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 6 06:36:06 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rG3e54404c7156: [Support] fix mingw-w64 build (authored by ilya-biryukov).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69879/new/

https://reviews.llvm.org/D69879

Files:
  llvm/lib/Support/Windows/Threading.inc


Index: llvm/lib/Support/Windows/Threading.inc
===================================================================
--- llvm/lib/Support/Windows/Threading.inc
+++ llvm/lib/Support/Windows/Threading.inc
@@ -34,7 +34,7 @@
 }
 
 static void
-llvm_execute_on_thread_impl(_beginthreadex_proc_type ThreadFunc, void *Arg,
+llvm_execute_on_thread_impl(unsigned (__stdcall *ThreadFunc)(void *), void *Arg,
                             llvm::Optional<unsigned> StackSizeInBytes,
                             JoiningPolicy JP) {
   HANDLE hThread = (HANDLE)::_beginthreadex(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69879.228055.patch
Type: text/x-patch
Size: 562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191106/c13a9c38/attachment.bin>


More information about the llvm-commits mailing list