kernel32: Skip remainder of the time zone test if SystemTimeToTzSpecificLocalTime not present.

oldstable
Dmitry Timoshkov 2007-07-31 17:48:26 +09:00 committed by Alexandre Julliard
parent c0cc85f78e
commit 9472e04447
1 changed files with 6 additions and 0 deletions

View File

@ -277,6 +277,12 @@ static void test_GetTimeZoneInformation(void)
ok(SetEnvironmentVariableA("TZ",NULL) != 0,
"SetEnvironmentVariableA failed\n");
if (!pSystemTimeToTzSpecificLocalTime)
{
skip("SystemTimeToTzSpecificLocalTime not present\n");
return;
}
diff = get_tz_bias(&tzinfo, tz_id);
utc = st;