vcomp: Better stub for omp_get_num_threads.

This commit is contained in:
Dan Kegel 2012-09-29 20:20:36 -07:00 committed by Alexandre Julliard
parent ed3d0e00ae
commit 9ba01e0246
2 changed files with 7 additions and 1 deletions

View File

@ -35,6 +35,12 @@ int CDECL omp_get_num_procs(void)
return 1; return 1;
} }
int CDECL omp_get_num_threads(void)
{
TRACE("stub\n");
return 1;
}
/* Time in seconds since "some time in the past" */ /* Time in seconds since "some time in the past" */
double CDECL omp_get_wtime(void) double CDECL omp_get_wtime(void)
{ {

View File

@ -94,7 +94,7 @@
@ stub omp_get_max_threads @ stub omp_get_max_threads
@ stub omp_get_nested @ stub omp_get_nested
@ cdecl omp_get_num_procs() @ cdecl omp_get_num_procs()
@ stub omp_get_num_threads @ cdecl omp_get_num_threads()
@ stub omp_get_thread_num @ stub omp_get_thread_num
@ stub omp_get_wtick @ stub omp_get_wtick
@ cdecl omp_get_wtime() @ cdecl omp_get_wtime()