mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 07:49:20 +02:00
tdbf: fix compilation for wince: it has no OemToCharBuff
git-svn-id: trunk@9339 -
This commit is contained in:
parent
3e1eba1745
commit
83285b3418
@ -363,12 +363,14 @@ begin
|
||||
if Length = -1 then
|
||||
Length := StrLen(Src);
|
||||
Result := Length;
|
||||
{$ifndef WINCE}
|
||||
if (FromCP = GetOEMCP) and (ToCP = GetACP) then
|
||||
OemToCharBuff(Src, Dest, Length)
|
||||
else
|
||||
if (FromCP = GetACP) and (ToCP = GetOEMCP) then
|
||||
CharToOemBuff(Src, Dest, Length)
|
||||
else
|
||||
{$endif}
|
||||
if FromCP = ToCP then
|
||||
begin
|
||||
if Src <> Dest then
|
||||
|
Loading…
Reference in New Issue
Block a user