kernel32/tests: Fix time tests compilation with __WINESRC__ defined.
This commit is contained in:
parent
373178cdf1
commit
193c837989
|
@ -720,7 +720,7 @@ static void test_GetCalendarInfo(void)
|
||||||
|
|
||||||
START_TEST(time)
|
START_TEST(time)
|
||||||
{
|
{
|
||||||
HMODULE hKernel = GetModuleHandle("kernel32");
|
HMODULE hKernel = GetModuleHandleA("kernel32");
|
||||||
pTzSpecificLocalTimeToSystemTime = (void *)GetProcAddress(hKernel, "TzSpecificLocalTimeToSystemTime");
|
pTzSpecificLocalTimeToSystemTime = (void *)GetProcAddress(hKernel, "TzSpecificLocalTimeToSystemTime");
|
||||||
pSystemTimeToTzSpecificLocalTime = (void *)GetProcAddress( hKernel, "SystemTimeToTzSpecificLocalTime");
|
pSystemTimeToTzSpecificLocalTime = (void *)GetProcAddress( hKernel, "SystemTimeToTzSpecificLocalTime");
|
||||||
pGetCalendarInfoA = (void *)GetProcAddress(hKernel, "GetCalendarInfoA");
|
pGetCalendarInfoA = (void *)GetProcAddress(hKernel, "GetCalendarInfoA");
|
||||||
|
|
Loading…
Reference in New Issue