diff --git a/wst/trunk/wst_fpc_xml.pas b/wst/trunk/wst_fpc_xml.pas index a47a89692..c83e83e60 100644 --- a/wst/trunk/wst_fpc_xml.pas +++ b/wst/trunk/wst_fpc_xml.pas @@ -123,7 +123,7 @@ end; function CreateDoc() : TXMLDocument ; begin Result := TXMLDocument.Create(); -{$IF ((FPC_VERSION = 2) and (FPC_RELEASE = 6)) } +{$IF (FPC_FULLVERSION <= 20600) } Result.Encoding := 'UTF-8'; {$IFEND} end;