From d0955b1bd610298ad546300243882be3ed20f8fa Mon Sep 17 00:00:00 2001 From: Dan Kegel Date: Sat, 29 Sep 2012 20:20:41 -0700 Subject: [PATCH] vcomp: Better stub for omp_get_thread_num. --- dlls/vcomp/main.c | 6 ++++++ dlls/vcomp/vcomp.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c index b758fbd4368..5faf0a1c1d3 100644 --- a/dlls/vcomp/main.c +++ b/dlls/vcomp/main.c @@ -59,6 +59,12 @@ int CDECL omp_get_num_threads(void) return 1; } +int CDECL omp_get_thread_num(void) +{ + TRACE("stub\n"); + return 0; +} + /* 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 1b58b2514d3..41b57fb096b 100644 --- a/dlls/vcomp/vcomp.spec +++ b/dlls/vcomp/vcomp.spec @@ -95,7 +95,7 @@ @ cdecl omp_get_nested() @ cdecl omp_get_num_procs() @ cdecl omp_get_num_threads() -@ stub omp_get_thread_num +@ cdecl omp_get_thread_num() @ stub omp_get_wtick @ cdecl omp_get_wtime() @ stub omp_in_parallel