
{$IFDEF FPC}
  {$DEFINE DELPHI_2006}
  {$DEFINE DELPHI_2006_UP}
  {$DEFINE DELPHI_2005_UP}
  {$DEFINE DELPHI_8_UP}
  {$DEFINE DELPHI_7_UP}
  {$DEFINE DELPHI_6_UP}
  {$DEFINE DELPHI_5_UP}
  {$DEFINE DELPHI_4_UP}
  {$DEFINE DELPHI_3_UP}
{$ENDIF}

{$IFDEF VER180}
  {$DEFINE DELPHI_2006}
  {$DEFINE DELPHI_2006_UP}
  {$DEFINE DELPHI_2005_UP}
  {$DEFINE DELPHI_8_UP}
  {$DEFINE DELPHI_7_UP}
  {$DEFINE DELPHI_6_UP}
  {$DEFINE DELPHI_5_UP}
  {$DEFINE DELPHI_4_UP}
  {$DEFINE DELPHI_3_UP}
{$ENDIF}

{$IFDEF VER170}
  {$DEFINE DELPHI_2005}
  {$DEFINE DELPHI_2005_UP}
  {$DEFINE DELPHI_8_UP}
  {$DEFINE DELPHI_7_UP}
  {$DEFINE DELPHI_6_UP}
  {$DEFINE DELPHI_5_UP}
  {$DEFINE DELPHI_4_UP}
  {$DEFINE DELPHI_3_UP}
{$ENDIF}

{$IFDEF VER160}
  {$DEFINE DELPHI_8}
  {$DEFINE DELPHI_8_UP}
  {$DEFINE DELPHI_7_UP}
  {$DEFINE DELPHI_6_UP}
  {$DEFINE DELPHI_5_UP}
  {$DEFINE DELPHI_4_UP}
  {$DEFINE DELPHI_3_UP}
{$ENDIF}

{$IFDEF VER150}
  {$DEFINE DELPHI_7}
  {$DEFINE DELPHI_7_UP}
  {$DEFINE DELPHI_6_UP}
  {$DEFINE DELPHI_5_UP}
  {$DEFINE DELPHI_4_UP}
  {$DEFINE DELPHI_3_UP}
{$ENDIF}

{$IFDEF VER140}
  {$DEFINE DELPHI_6}
  {$DEFINE DELPHI_6_UP}
  {$DEFINE DELPHI_5_UP}
  {$DEFINE DELPHI_4_UP}
  {$DEFINE DELPHI_3_UP}
{$ENDIF}

{$IFDEF VER130}
  {$DEFINE DELPHI_5}
  {$DEFINE DELPHI_5_UP}
  {$DEFINE DELPHI_4_UP}
  {$DEFINE DELPHI_3_UP}
{$ENDIF}

{$IFDEF VER120}
  {$DEFINE DELPHI_4}
  {$DEFINE DELPHI_4_UP}
  {$DEFINE DELPHI_3_UP}
{$ENDIF}

{$IFDEF VER110}
  {$DEFINE DELPHI_3}
  {$DEFINE DELPHI_3_UP}
{$ENDIF}

{$IFDEF VER100}
  {$DEFINE DELPHI_3}
  {$DEFINE DELPHI_3_UP}
{$ENDIF}

