Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50041 Signed-off-by: Andrey Gusev andrey.goosev@gmail.com --- dlls/vcomp/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c index 3c6d48d41cc..a415b430361 100644 --- a/dlls/vcomp/main.c +++ b/dlls/vcomp/main.c @@ -986,8 +986,8 @@ int CDECL omp_get_nested(void)
int CDECL omp_get_num_procs(void) { - TRACE("stub\n"); - return 1; + TRACE("()\n"); + return vcomp_num_threads; }
int CDECL omp_get_num_threads(void)
On 10/23/20 15:06, Andrey Gusev wrote:
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50041 Signed-off-by: Andrey Gusev andrey.goosev@gmail.com
dlls/vcomp/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c index 3c6d48d41cc..a415b430361 100644 --- a/dlls/vcomp/main.c +++ b/dlls/vcomp/main.c @@ -986,8 +986,8 @@ int CDECL omp_get_nested(void)
int CDECL omp_get_num_procs(void) {
- TRACE("stub\n");
- return 1;
- TRACE("()\n");
- return vcomp_num_threads;
Shouldn't this rather be number of processors available in the system?