mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 01:09:06 +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
|
if Length = -1 then
|
||||||
Length := StrLen(Src);
|
Length := StrLen(Src);
|
||||||
Result := Length;
|
Result := Length;
|
||||||
|
{$ifndef WINCE}
|
||||||
if (FromCP = GetOEMCP) and (ToCP = GetACP) then
|
if (FromCP = GetOEMCP) and (ToCP = GetACP) then
|
||||||
OemToCharBuff(Src, Dest, Length)
|
OemToCharBuff(Src, Dest, Length)
|
||||||
else
|
else
|
||||||
if (FromCP = GetACP) and (ToCP = GetOEMCP) then
|
if (FromCP = GetACP) and (ToCP = GetOEMCP) then
|
||||||
CharToOemBuff(Src, Dest, Length)
|
CharToOemBuff(Src, Dest, Length)
|
||||||
else
|
else
|
||||||
|
{$endif}
|
||||||
if FromCP = ToCP then
|
if FromCP = ToCP then
|
||||||
begin
|
begin
|
||||||
if Src <> Dest then
|
if Src <> Dest then
|
||||||
|
Loading…
Reference in New Issue
Block a user