mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 13:45:58 +02:00
* android: Added API level check for known old versions without timezone implementation in libc.
git-svn-id: trunk@34350 -
This commit is contained in:
parent
4a661ea8f8
commit
aa85f515e2
@ -126,7 +126,8 @@ end;
|
||||
|
||||
procedure InitLocalTime;
|
||||
begin
|
||||
ReadTimeZoneFromLibC;
|
||||
if SystemApiLevel > 10 then
|
||||
ReadTimeZoneFromLibC;
|
||||
// If cuurent Android version is too old and does not support timezone
|
||||
// in libc, use ICU library.
|
||||
if tzname[false] = nil then
|
||||
|
Loading…
Reference in New Issue
Block a user