2006-05-30 16:23:25 +02:00
|
|
|
{----------------------------------------------------------------------------}
|
|
|
|
{ RemObjects Pascal Script }
|
|
|
|
{ }
|
|
|
|
{ compiler: Delphi 2 and up, Kylix 3 and up }
|
|
|
|
{ platform: Win32, Linux }
|
|
|
|
{ }
|
|
|
|
{ (c)opyright RemObjects Software. all rights reserved. }
|
|
|
|
{ }
|
|
|
|
{----------------------------------------------------------------------------}
|
2006-10-31 08:47:33 +01:00
|
|
|
|
2006-05-30 16:23:25 +02:00
|
|
|
|
|
|
|
{$INCLUDE eDefines.inc}
|
|
|
|
|
2009-05-08 07:58:40 +02:00
|
|
|
{$IFDEF FPC}{$MODE DELPHI}{$H+}{$ENDIF}
|
2006-05-30 16:23:25 +02:00
|
|
|
|
|
|
|
{$IFDEF VER125}{C4}{$B-}{$X+}{$T-}{$H+}{$ENDIF}
|
|
|
|
{$IFDEF VER110}{C3}{$B-}{$X+}{$T-}{$H+}{$ENDIF}
|
|
|
|
{$IFDEF VER93}{C1}{$B-}{$X+}{$T-}{$H+}{$ENDIF}
|
|
|
|
|
|
|
|
{$IFDEF DELPHI4UP}
|
|
|
|
{$DEFINE PS_HAVEVARIANT}
|
|
|
|
{$DEFINE PS_DYNARRAY}
|
|
|
|
{$ENDIF}
|
|
|
|
|
|
|
|
{$IFNDEF FPC}
|
|
|
|
{$B-}{$X+}{$T-}{$H+}
|
|
|
|
{$ELSE}
|
|
|
|
{$R-}{$Q-}
|
|
|
|
{$ENDIF}
|
|
|
|
|
|
|
|
{$IFNDEF FPC}
|
|
|
|
{$IFNDEF DELPHI4UP}
|
|
|
|
{$IFNDEF LINUX}
|
|
|
|
{$DEFINE PS_NOINT64}
|
|
|
|
{$ENDIF}
|
|
|
|
{$ENDIF}
|
|
|
|
|
|
|
|
{$IFDEF DELPHI2}
|
|
|
|
{$DEFINE PS_NOINT64}
|
|
|
|
{$DEFINE PS_NOWIDESTRING}
|
|
|
|
{$B-}{$X+}{$T-}{$H+}
|
|
|
|
{$ENDIF}
|
|
|
|
|
|
|
|
{$IFDEF LINUX}{KYLIX}{$DEFINE CLX}{$DEFINE DELPHI3UP}{$DEFINE DELPHI6UP}{$ENDIF}
|
|
|
|
{$ENDIF}
|
|
|
|
{$R-}{$Q-}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
Defines:
|
|
|
|
IFPS3_NOSMARTLIST - Don't use the smart list option
|
|
|
|
}
|
|
|
|
|
|
|
|
{$UNDEF DEBUG}
|
|
|
|
|
|
|
|
{$IFDEF CLX}
|
|
|
|
{$DEFINE PS_NOIDISPATCH} // not implemented
|
|
|
|
{$ENDIF}
|
|
|
|
|
|
|
|
{$IFDEF FPC}
|
|
|
|
{$DEFINE PS_HAVEVARIANT}
|
|
|
|
{$DEFINE PS_DYNARRAY}
|
|
|
|
{$DEFINE PS_NOIDISPATCH}
|
2009-05-12 08:28:26 +02:00
|
|
|
{$if defined(fpc_version) and defined(fpc_patch) and defined(fpc_release) and (fpc_version=2) and (fpc_release>=3) and (fpc_patch>=1)}
|
|
|
|
{$UNDEF FPC_OLD_FIX}
|
|
|
|
{$UNDEF PS_FPCSTRINGWORKAROUND}
|
2009-05-08 07:58:40 +02:00
|
|
|
{FreePascal 2.3.1 and above has much Delphi compatibility bugs fixed}
|
2009-05-12 08:28:26 +02:00
|
|
|
{$else}
|
|
|
|
{$DEFINE FPC_OLD_FIX}
|
|
|
|
{$DEFINE PS_FPCSTRINGWORKAROUND}
|
|
|
|
{$ifend}
|
2006-05-30 16:23:25 +02:00
|
|
|
{$DEFINE DELPHI3UP}
|
|
|
|
{$DEFINE DELPHI6UP}
|
|
|
|
{$ENDIF}
|