fabriciocolombo / delphi-rest-client-api

A Delphi REST client API to consume REST services written in any programming language.
Apache License 2.0
380 stars 182 forks source link

Clean up compiler directives #43

Closed fabriciocolombo closed 8 years ago

fabriciocolombo commented 9 years ago

Clean up compiler directives using {$IF CompilerVersion >= XX} and more meaningful compiler directives names. No more {$IFDEF VERXYZ}

ronaldhoek commented 9 years ago

Be sure to check the 'CONDITIONALEXPRESSIONS' define when using {$IF CompilerVersion >= XX.X}

{$IFDEF CONDITIONALEXPRESSIONS}
  {$IF CompilerVersion >= XX.X}
    // etc.
  {$ENDIF}
{$ELSE}
  !!! UNSUPPORTED DELPHI VERSION !!!
{IFEND}
fabriciocolombo commented 9 years ago

Thanks for the tip