mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 14:36:09 +02:00
wince: fix compilation from Henry Vermaak
git-svn-id: trunk@17034 -
This commit is contained in:
parent
f3bb14bdb6
commit
a50363f995
@ -83,13 +83,13 @@ begin
|
||||
end;
|
||||
|
||||
function UTF8ToConsole(const s: string): string;
|
||||
{$ifdef Windows}
|
||||
{$ifdef MSWindows}
|
||||
var
|
||||
Dst: PChar;
|
||||
{$endif}
|
||||
begin
|
||||
Result := UTF8ToSys(s);
|
||||
{$ifdef Windows}
|
||||
{$ifdef MSWindows}
|
||||
Dst := AllocMem((Length(Result) + 1) * SizeOf(Char));
|
||||
if CharToOEM(PChar(Result), Dst) then
|
||||
Result := StrPas(Dst);
|
||||
|
Loading…
Reference in New Issue
Block a user