[PATCH v2] vcomp: Implement omp_get_num_procs().

Andrey Gusev andrey.goosev at gmail.com
Fri Oct 23 13:01:28 CDT 2020


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50041
Signed-off-by: Andrey Gusev <andrey.goosev at 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..8e7fa10d570 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 sizeof(LOGICAL_PROCESSOR_RELATIONSHIP);
 }
 
 int CDECL omp_get_num_threads(void)
-- 
2.26.2




More information about the wine-devel mailing list