Dan Kegel : vcomp: Better stub for omp_get_thread_num.
Alexandre Julliard
julliard at winehq.org
Tue Oct 2 14:09:39 CDT 2012
Module: wine
Branch: master
Commit: d0955b1bd610298ad546300243882be3ed20f8fa
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d0955b1bd610298ad546300243882be3ed20f8fa
Author: Dan Kegel <dank at kegel.com>
Date: Sat Sep 29 20:20:41 2012 -0700
vcomp: Better stub for omp_get_thread_num.
---
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 b758fbd..5faf0a1 100644
--- a/dlls/vcomp/main.c
+++ b/dlls/vcomp/main.c
@@ -59,6 +59,12 @@ int CDECL omp_get_num_threads(void)
return 1;
}
+int CDECL omp_get_thread_num(void)
+{
+ TRACE("stub\n");
+ return 0;
+}
+
/* 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 1b58b25..41b57fb 100644
--- a/dlls/vcomp/vcomp.spec
+++ b/dlls/vcomp/vcomp.spec
@@ -95,7 +95,7 @@
@ cdecl omp_get_nested()
@ cdecl omp_get_num_procs()
@ cdecl omp_get_num_threads()
-@ stub omp_get_thread_num
+@ cdecl omp_get_thread_num()
@ stub omp_get_wtick
@ cdecl omp_get_wtime()
@ stub omp_in_parallel
More information about the wine-cvs
mailing list