forked from IndySockets/Indy
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I just added that to IdGlobal to make Indy 10 Lazarus 5 compatible.
// Embarcadero changed the signature of FreeAndNil() in 10.4 Denali...
{$UNDEF HAS_FreeAndNil_TObject_Param}
{$IFNDEF USE_OBJECT_ARC}
{$IFDEF DCC}
{$IFDEF VCL_10_4_OR_ABOVE}
{$DEFINE HAS_FreeAndNil_TObject_Param}
{$ENDIF}
{$ELSE}
{$IF (FPC_VERSION>=3) and (FPC_RELEASE>=3)}
{$DEFINE HAS_FreeAndNil_TObject_Param}
{$ENDIF}
{$ENDIF}
{$ENDIF}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels