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

This commit is contained in:
Dmitry Timoshkov 2007-07-31 17:48:26 +09:00 committed by Alexandre Julliard
parent c0cc85f78e
commit 9472e04447

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;