vcomp: Better stub for omp_get_num_threads.
authorDan Kegel <dank@kegel.com>
Sun, 30 Sep 2012 03:20:36 +0000 (20:20 -0700)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 2 Oct 2012 12:08:36 +0000 (14:08 +0200)
dlls/vcomp/main.c
dlls/vcomp/vcomp.spec

index 1e51eef..170bd43 100644 (file)
@@ -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)
 {
index 3e02bea..e53a475 100644 (file)
@@ -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()