{*****************************************************************************
*  ZLibEx.inc                                                                *
*  copyright (c) 2006-2010 base2 technologies                                *
*                                                                            *
*  version information for delphi/c++ builder                                *
*                                                                            *
*  revision history                                                          *
*    2010.01.27  updated for delphi 2010                                     *
*    2009.04.11  updated to use CONDITIONALEXPRESSIONS and CompilerVersion   *
*    2009.01.28  updated for delphi 2009                                     *
*    2007.10.01  updated for delphi 2007                                     *
*    2005.11.29  created                                                     *
*                                                                            *
*  acknowledgments                                                           *
*    iztok kacin                                                             *
*      2009.04.11  CONDITIONALEXPRESSIONS and CompilerVersion changes        *
*****************************************************************************}
{$ifndef FPC}
{$ifndef CONDITIONALEXPRESSIONS}

  {$if CompilerVersion >= 15.0}         // delphi 7
    {$ifdef VER150}
      {$define Version7}
    {$endif}

    {$define Version7Plus}
  {$ifend}

  {$if CompilerVersion >= 16.0}         // delphi 8 (.net)
    {$ifdef VER160}
      {$define Version8}
    {$endif}

    {$define Version8Plus}
  {$ifend}

  {$if CompilerVersion >= 17.0}         // delphi 2005
    {$ifdef VER170}
      {$define Version2005}
    {$endif}

    {$define Version2005Plus}
  {$ifend}

  {$if CompilerVersion >= 18.0}         // bds 2006
    {$ifdef VER180}
      {$define Version2006}
    {$endif}

    {$define Version2006Plus}
  {$ifend}

  {$if CompilerVersion >= 18.5}         // bds 2007
    {$ifdef VER185}
      {$define Version2007}
    {$endif}

    {$define Version2007Plus}
  {$ifend}

  {$if CompilerVersion >= 20.0}         // bds 2009
    {$ifdef VER200}
      {$define Version2009}
    {$endif}

    {$define Version2009Plus}
  {$ifend}

  {$if CompilerVersion >= 21.0}         // bds 2010
    {$ifdef VER210}
      {$define Version2010}
    {$endif}

    {$define Version2010Plus}
  {$ifend}

{$endif}
{$endif}

{$ifdef FPC}
  {$mode Delphi} // Needed for array of const
  {$H+} // use long strings
  {$PACKRECORDS C}
    {$define Version2005Plus}
{$endif}
