Module: wine Branch: master Commit: ed23241733c5071aec3d1d51275ed478cc97f745 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ed23241733c5071aec3d1d5127...
Author: Dan Kegel dank@kegel.com Date: Sat Sep 29 20:20:38 2012 -0700
vcomp: Better stub for omp_get_max_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 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()