diff options
-rw-r--r-- | llvm/lib/Support/Windows/Threading.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Threading.inc b/llvm/lib/Support/Windows/Threading.inc index 83b47ea1e3d..9456efa686f 100644 --- a/llvm/lib/Support/Windows/Threading.inc +++ b/llvm/lib/Support/Windows/Threading.inc @@ -34,7 +34,7 @@ static unsigned __stdcall threadFuncAsync(void *Arg) { } 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( |