소스 검색

* i8086 compilation fix after changeset 42390

git-svn-id: trunk@42485 -
nickysn 6 년 전
부모
커밋
a3a39e1640
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      rtl/objpas/typinfo.pp

+ 4 - 0
rtl/objpas/typinfo.pp

@@ -267,7 +267,11 @@ unit TypInfo;
         ArgData: Pointer;
       end;
 
+{$ifdef CPU16}
+      TAttributeEntryList = array[0..(High(SizeUInt) div SizeOf(TAttributeEntry))-1] of TAttributeEntry;
+{$else CPU16}
       TAttributeEntryList = array[0..$ffff] of TAttributeEntry;
+{$endif CPU16}
 
       TAttributeTable =
       {$ifndef FPC_REQUIRES_PROPER_ALIGNMENT}