From 15b59d75c65457e72ce6f1836edc208c336a3b6f Mon Sep 17 00:00:00 2001 From: Dan Kegel Date: Sat, 29 Sep 2012 20:20:40 -0700 Subject: [PATCH] vcomp: Better stubs for omp_get_nested, omp_set_nested. --- dlls/vcomp/main.c | 11 +++++++++++ dlls/vcomp/vcomp.spec | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c index 1f80563420d..b758fbd4368 100644 --- a/dlls/vcomp/main.c +++ b/dlls/vcomp/main.c @@ -41,6 +41,12 @@ int CDECL omp_get_max_threads(void) return 1; } +int CDECL omp_get_nested(void) +{ + TRACE("stub\n"); + return 0; +} + int CDECL omp_get_num_procs(void) { TRACE("stub\n"); @@ -64,6 +70,11 @@ void CDECL omp_set_dynamic(int val) TRACE("(%d): stub\n", val); } +void CDECL omp_set_nested(int nested) +{ + TRACE("(%d): stub\n", nested); +} + void CDECL omp_set_num_threads(int num_threads) { TRACE("(%d): stub\n", num_threads); diff --git a/dlls/vcomp/vcomp.spec b/dlls/vcomp/vcomp.spec index ce66c520a4a..1b58b2514d3 100644 --- a/dlls/vcomp/vcomp.spec +++ b/dlls/vcomp/vcomp.spec @@ -92,7 +92,7 @@ @ stub omp_destroy_nest_lock @ cdecl omp_get_dynamic() @ cdecl omp_get_max_threads() -@ stub omp_get_nested +@ cdecl omp_get_nested() @ cdecl omp_get_num_procs() @ cdecl omp_get_num_threads() @ stub omp_get_thread_num @@ -104,7 +104,7 @@ @ cdecl omp_set_dynamic(long) @ stub omp_set_lock @ stub omp_set_nest_lock -@ stub omp_set_nested +@ cdecl omp_set_nested(long) @ cdecl omp_set_num_threads(long) @ stub omp_test_lock @ stub omp_test_nest_lock