From 54a10eb1aa0bb0fe46a205a67de2b39eb82a17ae Mon Sep 17 00:00:00 2001 From: Dan Kegel Date: Sat, 29 Sep 2012 20:20:37 -0700 Subject: [PATCH] vcomp: Better stub for omp_set_num_threads. --- dlls/vcomp/main.c | 5 +++++ dlls/vcomp/vcomp.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c index 170bd4323c..a369af1af3 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 e53a475e6a..cca56f1234 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