use FPC_HAS_WINLIKERESOURCES to define if we can read lfm from system resources

git-svn-id: trunk@14516 -
This commit is contained in:
paul 2008-03-14 08:08:00 +00:00
parent 9167ffdaeb
commit d7f8fe129a

View File

@ -40,15 +40,13 @@ uses
LCLStrConsts, LazConfigStorage, RtlConsts;
{$DEFINE UseLRS}
{$IFDEF FPC_HAS_WINLIKERESOURCES}
{$DEFINE UseRES}
{$ENDIF}
type
TFilerSignature = array[1..4] of Char;
// we cannot place $IF DECLARED near the uses section due to bug 8611
{$IF DECLARED(TFPResourceHandle)}
{$DEFINE UseRES}
{$IFEND}
{ TLResourceList }
TLResource = class