forked from Mirrors/wine-wine
kernel32: Skip remainder of the time zone test if SystemTimeToTzSpecificLocalTime not present.
parent
c0cc85f78e
commit
9472e04447
|
@ -277,6 +277,12 @@ static void test_GetTimeZoneInformation(void)
|
||||||
ok(SetEnvironmentVariableA("TZ",NULL) != 0,
|
ok(SetEnvironmentVariableA("TZ",NULL) != 0,
|
||||||
"SetEnvironmentVariableA failed\n");
|
"SetEnvironmentVariableA failed\n");
|
||||||
|
|
||||||
|
if (!pSystemTimeToTzSpecificLocalTime)
|
||||||
|
{
|
||||||
|
skip("SystemTimeToTzSpecificLocalTime not present\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
diff = get_tz_bias(&tzinfo, tz_id);
|
diff = get_tz_bias(&tzinfo, tz_id);
|
||||||
|
|
||||||
utc = st;
|
utc = st;
|
||||||
|
|
Loading…
Reference in New Issue