Dmitry Timoshkov : kernel32/tests: Fix timer tests compilation with __WINESRC__ defined.
Alexandre Julliard
julliard at winehq.org
Tue Oct 22 13:30:41 CDT 2013
Module: wine
Branch: master
Commit: 7e39bfc04be7915768aebbd3e666833e8a648897
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7e39bfc04be7915768aebbd3e666833e8a648897
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Mon Oct 21 17:02:49 2013 +0900
kernel32/tests: Fix timer tests compilation with __WINESRC__ defined.
---
dlls/kernel32/tests/timer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/tests/timer.c b/dlls/kernel32/tests/timer.c
index a06217a..bcc800c 100644
--- a/dlls/kernel32/tests/timer.c
+++ b/dlls/kernel32/tests/timer.c
@@ -28,7 +28,7 @@ static void test_timer(void)
{
HANDLE (WINAPI *pCreateWaitableTimerA)( SECURITY_ATTRIBUTES*, BOOL, LPSTR );
BOOL (WINAPI *pSetWaitableTimer)(HANDLE, LARGE_INTEGER*, LONG, PTIMERAPCROUTINE, LPVOID, BOOL);
- HMODULE hker = GetModuleHandle("kernel32");
+ HMODULE hker = GetModuleHandleA("kernel32.dll");
HANDLE handle;
BOOL r;
LARGE_INTEGER due;
More information about the wine-cvs
mailing list