Blocks the compilation of lcl-wince in the arm architecture with FPC <= 2.2.0 to avoid mistakes of the users.

git-svn-id: trunk@14805 -
This commit is contained in:
sekelsenmat 2008-04-12 00:53:44 +00:00
parent 2f11eb8333
commit cf3c9916a4

View File

@ -28,6 +28,14 @@ unit WinCEInt;
Interface
{ At least FPC 2.2.1 is required if the architecture is ARM
FPC 2.0 or inferior isn't checked because it can't compile for wince }
{$ifdef CPUARM}
{$if defined(ver2_2) and (fpc_patch<1)}
{$fatal The Lazarus WinCE Interface in Lazarus 0.9.25+ requires at least FPC 2.2.1}
{$endif}
{$endif}
{$IFDEF Trace}
{$ASSERTIONS ON}
{$ENDIF}