Skip to content

Lazarus 5 compatibility #17

@Mat-Hac

Description

@Mat-Hac

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions