Browse Source

* updated check for minimum version required to build trunk (at least
FPC 2.2.2)

git-svn-id: trunk@12671 -

Jonas Maebe 16 years ago
parent
commit
213c00b17f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rtl/inc/systemh.inc

+ 2 - 2
rtl/inc/systemh.inc

@@ -22,8 +22,8 @@
 {$mode objfpc}
 {$mode objfpc}
 
 
 { At least 2.0.0 is required }
 { At least 2.0.0 is required }
-{$ifdef VER1}
-  {$fatal You need at least FPC 2.0.0}
+{$if defined(VER1) or defined(VER2_0) or defined(VER2_2_0) }
+  {$fatal You need at least FPC 2.2.2 to build this version of FPC}
 {$endif}
 {$endif}
 
 
 { Using inlining for small system functions/wrappers }
 { Using inlining for small system functions/wrappers }