diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c index 1e51eef071e33aae7f55ae2ec0000c4739580fb2..170bd4323c6c90e6208f3054a9c2cc24f87e1df3 100644 --- a/dlls/vcomp/main.c +++ b/dlls/vcomp/main.c @@ -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) { diff --git a/dlls/vcomp/vcomp.spec b/dlls/vcomp/vcomp.spec index 3e02bea9ca749224070ea9928e4db016e9d34241..e53a475e6a790ed1205c4f1824994befb54b26f0 100644 --- a/dlls/vcomp/vcomp.spec +++ b/dlls/vcomp/vcomp.spec @@ -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()