[PATCH 2/6] vcomp: better stub for omp_set_num_threads
Dan Kegel
dank at kegel.com
Sat Sep 29 22:20:37 CDT 2012
---
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 170bd43..a369af1 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 e53a475..cca56f1 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
--
1.7.9.5
More information about the wine-patches
mailing list