diff --git a/components/virtualtreeview-new/branches/4.8/VTConfig.inc b/components/virtualtreeview-new/branches/4.8/VTConfig.inc index 8508c2bea..f026cb508 100644 --- a/components/virtualtreeview-new/branches/4.8/VTConfig.inc +++ b/components/virtualtreeview-new/branches/4.8/VTConfig.inc @@ -44,6 +44,7 @@ {$ifdef Windows} {$define EnableThreadSupport} {$endif} -{$ifdef CPU64} + +{$if (FPC_FULLVERSION >= 30100) or defined(CPU64)} {$define PACKARRAYPASCAL} {$endif} diff --git a/components/virtualtreeview-new/trunk/VTConfig.inc b/components/virtualtreeview-new/trunk/VTConfig.inc index 55532dce5..93ad27231 100644 --- a/components/virtualtreeview-new/trunk/VTConfig.inc +++ b/components/virtualtreeview-new/trunk/VTConfig.inc @@ -44,7 +44,8 @@ {$ifdef Windows} {$define EnableThreadSupport} {$endif} -{$ifdef CPU64} +{$if (FPC_FULLVERSION >= 30100) or defined(CPU64)} {$define PACKARRAYPASCAL} {$endif} + {$define CompilerVersion := 19}