pascalscript/Source/PascalScriptFPC.inc
carlokok 09a93b6abe fpc fix
git-svn-id: http://code.remobjects.com/svn/pascalscript@148 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
2009-05-28 05:45:38 +00:00

16 lines
486 B
PHP

{$DEFINE PS_HAVEVARIANT}
{$DEFINE PS_DYNARRAY}
{$DEFINE PS_NOIDISPATCH}
{.$if (fpc_version=2) and (fpc_release>=3) and (fpc_patch>=1)}
{$if (fpc_version=2) and (fpc_release>=2) and (fpc_patch>=4)}
{$UNDEF FPC_OLD_FIX}
{$UNDEF PS_FPCSTRINGWORKAROUND}
{FreePascal 2.3.1 and above has much Delphi compatibility bugs fixed}
{$else}
{$DEFINE FPC_OLD_FIX}
{$DEFINE PS_FPCSTRINGWORKAROUND}
{$ifend}
{$DEFINE DELPHI3UP}
{$DEFINE DELPHI6UP}