diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c index 170bd4323c6..a369af1af3b 100644 --- a/dlls/vcomp/main.c +++ b/dlls/vcomp/main.c @@ -47,6 +47,11 @@ double CDECL omp_get_wtime(void) return GetTickCount() / 1000.0; } +void CDECL omp_set_num_threads(int num_threads) +{ + TRACE("(%d): stub\n", num_threads); +} + void CDECL _vcomp_set_num_threads(int num_threads) { TRACE("(%d): stub\n", num_threads); diff --git a/dlls/vcomp/vcomp.spec b/dlls/vcomp/vcomp.spec index e53a475e6a7..cca56f1234d 100644 --- a/dlls/vcomp/vcomp.spec +++ b/dlls/vcomp/vcomp.spec @@ -105,7 +105,7 @@ @ stub omp_set_lock @ stub omp_set_nest_lock @ stub omp_set_nested -@ stub omp_set_num_threads +@ cdecl omp_set_num_threads(long) @ stub omp_test_lock @ stub omp_test_nest_lock @ stub omp_unset_lock