Module: wine Branch: master Commit: e45b5f556a68e00d2ba4eb8269708c3cb9be3309 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e45b5f556a68e00d2ba4eb8269...
Author: Dan Kegel dank@kegel.com Date: Wed Sep 5 19:05:54 2012 -0700
vcomp: Better stub for _vcomp_set_num_threads.
---
dlls/vcomp/main.c | 5 +++++ dlls/vcomp/vcomp.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c index 82c8c94..1e51eef 100644 --- a/dlls/vcomp/main.c +++ b/dlls/vcomp/main.c @@ -41,6 +41,11 @@ double CDECL omp_get_wtime(void) return GetTickCount() / 1000.0; }
+void CDECL _vcomp_set_num_threads(int num_threads) +{ + TRACE("(%d): stub\n", num_threads); +} + BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); diff --git a/dlls/vcomp/vcomp.spec b/dlls/vcomp/vcomp.spec index 7a701ef..3e02bea 100644 --- a/dlls/vcomp/vcomp.spec +++ b/dlls/vcomp/vcomp.spec @@ -85,7 +85,7 @@ @ stub _vcomp_reduction_u8 @ stub _vcomp_sections_init @ stub _vcomp_sections_next -@ stub _vcomp_set_num_threads +@ cdecl _vcomp_set_num_threads(long) @ stub _vcomp_single_begin @ stub _vcomp_single_end @ stub omp_destroy_lock