clipper2-sys 1.0.0

Polygon Clipping and Offsetting (Clipper2 wrapper)
Documentation

///////////////////////////////////////////////////////////////////////////////
//USER DEFINED PREPROCESSOR DIRECTIVES
///////////////////////////////////////////////////////////////////////////////

//For user defined Z-coordinates, defined in Clipper's 'SetZ' callback event
{.$DEFINE USINGZ}

///////////////////////////////////////////////////////////////////////////////
//COMPILER DEFINED PREPROCESSOR DIRECTIVES (ie. do not touch ;))
///////////////////////////////////////////////////////////////////////////////

{$IFDEF FPC}
  {$DEFINE INLINING}
  {$MODE DELPHI}
{$ELSE}
  {$IF COMPILERVERSION < 14}
    Requires Delphi version 6 or above.
  {$IFEND}
  {$IF COMPILERVERSION >= 18}             //Delphi 2007
    {$DEFINE RECORD_METHODS}              
    {$DEFINE STRICT}
    {$IF COMPILERVERSION >= 19}           //Delphi 2009  
      //While "inlining" is supported from D2005, it's buggy (see QC41166) until D2009
      {$DEFINE INLINING}
      {$IF COMPILERVERSION >= 23}           //Delphi XE2+
        {$DEFINE XPLAT_GENERICS}
        {$DEFINE ROUNDINGMODE}   
        {$IF COMPILERVERSION >= 24}         //Delphi XE3+
          {$LEGACYIFEND ON}
        {$IFEND}
      {$IFEND}
    {$IFEND}
  {$IFEND}
{$ENDIF}

{$IFDEF DEBUG}
  {$UNDEF INLINING}
{$ENDIF}