mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 21:50:18 +02:00
* cwstring: Added ICU versions for new versions of Android.
This commit is contained in:
parent
5921fa9a62
commit
487721dea8
@ -522,7 +522,9 @@ end;
|
|||||||
|
|
||||||
function LoadICU: boolean;
|
function LoadICU: boolean;
|
||||||
const
|
const
|
||||||
ICUver: array [1..12] of ansistring = ('3_8', '4_2', '44', '46', '48', '50', '51', '53', '55', '56', '58', '60');
|
ICUver: array [1..15] of ansistring =
|
||||||
|
('3_8', '4_2', '44', '46', '48', '50', '51', '53', '55', '56', '58', '60',
|
||||||
|
'63', '66', '68');
|
||||||
TestProcName = 'ucnv_open';
|
TestProcName = 'ucnv_open';
|
||||||
|
|
||||||
var
|
var
|
||||||
@ -623,7 +625,9 @@ initialization
|
|||||||
SysGetIcuProc:=@GetIcuProc;
|
SysGetIcuProc:=@GetIcuProc;
|
||||||
SetStdIOCodePages;
|
SetStdIOCodePages;
|
||||||
{$endif android}
|
{$endif android}
|
||||||
end;
|
end
|
||||||
|
else
|
||||||
|
SysLogWrite(ANDROID_LOG_ERROR, 'cwstring: Failed to load ICU.');
|
||||||
|
|
||||||
finalization
|
finalization
|
||||||
SetUnicodeStringManager(oldm);
|
SetUnicodeStringManager(oldm);
|
||||||
|
Loading…
Reference in New Issue
Block a user