38e7332b3d
git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@164 7c85be65-684b-0410-a082-b2ed4fbef004
31 lines
966 B
PHP
31 lines
966 B
PHP
//
|
|
// This is FPC-incompatible code and was excluded from jedi.inc for this reason
|
|
//
|
|
// Kylix 3/C++ for some reason evaluates CompilerVersion comparisons to False,
|
|
// if the constant to compare with is a floating point value - weird.
|
|
// The "+" sign prevents Kylix/Delphi from issueing a warning about comparing
|
|
// signed and unsigned values.
|
|
//
|
|
{$IF not Declared(CompilerVersion)}
|
|
{$DEFINE KYLIX1}
|
|
{$DEFINE COMPILER6}
|
|
{$DEFINE DELPHICOMPILER6}
|
|
{$DEFINE RTL140_UP}
|
|
{$ELSEIF Declared(CompilerVersion) and (CompilerVersion > +14)}
|
|
{$DEFINE KYLIX2}
|
|
{$DEFINE COMPILER6}
|
|
{$DEFINE DELPHICOMPILER6}
|
|
{$DEFINE RTL142_UP}
|
|
{$ELSEIF Declared(CompilerVersion) and (CompilerVersion < +15)}
|
|
{$DEFINE KYLIX3}
|
|
{$DEFINE COMPILER6}
|
|
{$IFNDEF BCB}
|
|
{$DEFINE DELPHICOMPILER6}
|
|
{$ENDIF}
|
|
{$DEFINE RTL145_UP}
|
|
{$ELSE}
|
|
Add new Kylix version
|
|
{$IFEND}
|
|
|
|
|