diff --git a/lcl/lresources.pp b/lcl/lresources.pp index cb771bbd2f..93c64b2d38 100644 --- a/lcl/lresources.pp +++ b/lcl/lresources.pp @@ -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