mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 04:34:48 +00:00
kernel32: Skip remainder of the time zone test if SystemTimeToTzSpecificLocalTime not present.
This commit is contained in:
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 a new issue