IDE: fixed compilation with fpc 3.0.1

git-svn-id: trunk@52484 -
This commit is contained in:
mattias 2016-06-12 07:08:39 +00:00
parent d015e429f4
commit 0357266afc

View File

@ -1506,7 +1506,7 @@ begin
// set TypeData (PropCount is the total number of properties, including ancestors)
NewTypeData^.ClassType:=TClass(NewVMT);
{$IF FPC_FULLVERSION>30000}
{$IF FPC_FULLVERSION>=30100}
NewTypeData^.ParentInfoRef:=AncestorClass.ClassInfo;
{$ELSE}
NewTypeData^.ParentInfo:=AncestorClass.ClassInfo;