diff --git a/openmp/runtime/test/omp_testsuite.h b/openmp/runtime/test/omp_testsuite.h --- a/openmp/runtime/test/omp_testsuite.h +++ b/openmp/runtime/test/omp_testsuite.h @@ -86,7 +86,7 @@ }; // call the void* start_routine(void*); -static DWORD __thread_func_wrapper(LPVOID lpParameter) { +static DWORD WINAPI __thread_func_wrapper(LPVOID lpParameter) { struct thread_func_info_t* function_information; function_information = (struct thread_func_info_t*)lpParameter; function_information->start_routine(function_information->arg);