Dmitry Timoshkov : kernel32/tests: Fix time tests compilation with __WINESRC__ defined.
Module: wine Branch: master Commit: 193c837989d6988d7b3f6a8096ac7f80978764c1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=193c837989d6988d7b3f6a8096... Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Thu Oct 17 11:45:46 2013 +0900 kernel32/tests: Fix time tests compilation with __WINESRC__ defined. --- dlls/kernel32/tests/time.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/kernel32/tests/time.c b/dlls/kernel32/tests/time.c index 2f71184..0cc4485 100644 --- a/dlls/kernel32/tests/time.c +++ b/dlls/kernel32/tests/time.c @@ -720,7 +720,7 @@ static void test_GetCalendarInfo(void) START_TEST(time) { - HMODULE hKernel = GetModuleHandle("kernel32"); + HMODULE hKernel = GetModuleHandleA("kernel32"); pTzSpecificLocalTimeToSystemTime = (void *)GetProcAddress(hKernel, "TzSpecificLocalTimeToSystemTime"); pSystemTimeToTzSpecificLocalTime = (void *)GetProcAddress( hKernel, "SystemTimeToTzSpecificLocalTime"); pGetCalendarInfoA = (void *)GetProcAddress(hKernel, "GetCalendarInfoA");
participants (1)
-
Alexandre Julliard