Dan Kegel : vcomp: Better stub for omp_get_num_threads.
Module: wine Branch: master Commit: 9ba01e0246b4edc832b864b35867fa54bde3876a URL: http://source.winehq.org/git/wine.git/?a=commit;h=9ba01e0246b4edc832b864b358... Author: Dan Kegel <dank(a)kegel.com> Date: Sat Sep 29 20:20:36 2012 -0700 vcomp: Better stub for omp_get_num_threads. --- 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 1e51eef..170bd43 100644 --- a/dlls/vcomp/main.c +++ b/dlls/vcomp/main.c @@ -35,6 +35,12 @@ int CDECL omp_get_num_procs(void) return 1; } +int CDECL omp_get_num_threads(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 3e02bea..e53a475 100644 --- a/dlls/vcomp/vcomp.spec +++ b/dlls/vcomp/vcomp.spec @@ -94,7 +94,7 @@ @ stub omp_get_max_threads @ stub omp_get_nested @ cdecl omp_get_num_procs() -@ stub omp_get_num_threads +@ cdecl omp_get_num_threads() @ stub omp_get_thread_num @ stub omp_get_wtick @ cdecl omp_get_wtime()
participants (1)
-
Alexandre Julliard