Dan Kegel : vcomp: Add better stub for omp_get_num_procs.
Alexandre Julliard
julliard at winehq.org
Wed Sep 5 15:36:46 CDT 2012
Module: wine
Branch: master
Commit: d97d3425857ac533e154571479386e1e58c75e89
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d97d3425857ac533e154571479386e1e58c75e89
Author: Dan Kegel <dank at kegel.com>
Date: Tue Sep 4 08:27:33 2012 -0700
vcomp: Add better stub for omp_get_num_procs.
---
dlls/vcomp/main.c | 6 ++++++
dlls/vcomp/vcomp.spec | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c
index be14c02..82c8c94 100644
--- a/dlls/vcomp/main.c
+++ b/dlls/vcomp/main.c
@@ -29,6 +29,12 @@
WINE_DEFAULT_DEBUG_CHANNEL(vcomp);
+int CDECL omp_get_num_procs(void)
+{
+ TRACE("stub\n");
+ return 1;
+}
+
/* Time in seconds since "some time in the past" */
double CDECL omp_get_wtime(void)
{
diff --git a/dlls/vcomp/vcomp.spec b/dlls/vcomp/vcomp.spec
index 7ffbf82..7a701ef 100644
--- a/dlls/vcomp/vcomp.spec
+++ b/dlls/vcomp/vcomp.spec
@@ -93,7 +93,7 @@
@ stub omp_get_dynamic
@ stub omp_get_max_threads
@ stub omp_get_nested
-@ stub omp_get_num_procs
+@ cdecl omp_get_num_procs()
@ stub omp_get_num_threads
@ stub omp_get_thread_num
@ stub omp_get_wtick
More information about the wine-cvs
mailing list