cxflag203 / superobject

Automatically exported from code.google.com/p/superobject
0 stars 0 forks source link

Delphi XE6 support #57

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To make further Delphi support more easily, I'd suggest change

`
{$if defined(FPC) or defined(VER170) or defined(VER180) or defined(VER190)
  or defined(VER200) or defined(VER210) or defined(VER220) or defined(VER230)
  or defined(VER240)  or defined(VER250) or defined(VER260)}
  {$DEFINE HAVE_INLINE}
{$ifend}

{$if defined(VER210) or defined(VER220) or defined(VER230) or defined(VER240)
  or defined(VER250) or defined(VER260)}
  {$define HAVE_RTTI}
{$ifend}

{$if defined(VER230) or defined(VER240) or defined(VER250) or defined(VER260)}
  {$define NEED_FORMATSETTINGS}
{$ifend}
`

to 

`
{$if defined(FPC) or (CompilerVersion >= 17)}
  {$DEFINE HAVE_INLINE}
{$ifend}

{$if CompilerVersion >= 21}
  {$define HAVE_RTTI}
{$ifend}

{$if CompilerVersion >= 23}
  {$define NEED_FORMATSETTINGS}
{$ifend}
`

Original issue reported on code.google.com by sx.a...@googlemail.com on 17 May 2014 at 12:41