[PATCH 3/6] vcomp: better stub for omp_get_max_threads
Dan Kegel
dank at kegel.com
Sat Sep 29 22:20:38 CDT 2012
---
dlls/vcomp/main.c | 6 ++++++
dlls/vcomp/vcomp.spec | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c
index a369af1..78c2c08 100644
--- a/dlls/vcomp/main.c
+++ b/dlls/vcomp/main.c
@@ -29,6 +29,12 @@
WINE_DEFAULT_DEBUG_CHANNEL(vcomp);
+int CDECL omp_get_max_threads(void)
+{
+ TRACE("stub\n");
+ return 1;
+}
+
int CDECL omp_get_num_procs(void)
{
TRACE("stub\n");
diff --git a/dlls/vcomp/vcomp.spec b/dlls/vcomp/vcomp.spec
index cca56f1..a29b9f9 100644
--- a/dlls/vcomp/vcomp.spec
+++ b/dlls/vcomp/vcomp.spec
@@ -91,7 +91,7 @@
@ stub omp_destroy_lock
@ stub omp_destroy_nest_lock
@ stub omp_get_dynamic
-@ stub omp_get_max_threads
+@ cdecl omp_get_max_threads()
@ stub omp_get_nested
@ cdecl omp_get_num_procs()
@ cdecl omp_get_num_threads()
--
1.7.9.5
More information about the wine-patches
mailing list