LCL: fixed wince compilation

git-svn-id: trunk@15203 -
This commit is contained in:
vincents 2008-05-22 08:28:09 +00:00
parent 3e86fa25cd
commit 4d8c5628cf

View File

@ -95,6 +95,11 @@ var EncodingValid: boolean = false;
function GetWindowsEncoding: string;
var
cp : UINT;
{$IFDEF WinCE}
// CP_UTF8 is missing in the windows unit of the Windows CE RTL
const
CP_UTF8 = 65001;
{$ENDIF}
begin
cp := GetACP;
case cp of