Przeglądaj źródła

Fix cycle starting for 2.6.4 release for powerpc64-linux

git-svn-id: trunk@27610 -
pierre 11 lat temu
rodzic
commit
8193aff81d
1 zmienionych plików z 13 dodań i 6 usunięć
  1. 13 6
      rtl/inc/rtti.inc

+ 13 - 6
rtl/inc/rtti.inc

@@ -16,12 +16,19 @@
 
 { the tk* constants are now declared in system.inc }
 
+{$ifdef FPC_REQUIRES_PROPER_ALIGNMENT}
+  {$define USE_PACKED}
+{$endif}
+{$ifdef VER2_6}
+  {$define USE_PACKED}
+{$endif}
+
 type
   PRecordElement=^TRecordElement;
   TRecordElement=
-{$ifndef FPC_REQUIRES_PROPER_ALIGNMENT}
+{$ifdef USE_PACKED}
   packed
-{$endif FPC_REQUIRES_PROPER_ALIGNMENT}
+{$endif USE_PACKED}
   record
     TypeInfo: Pointer;
     {$ifdef VER2_6}
@@ -33,9 +40,9 @@ type
 
   PRecordInfo=^TRecordInfo;
   TRecordInfo=
-{$ifndef FPC_REQUIRES_PROPER_ALIGNMENT}
+{$ifdef USE_PACKED}
   packed
-{$endif FPC_REQUIRES_PROPER_ALIGNMENT}
+{$endif USE_PACKED}
   record
     Size: Longint;
     Count: Longint;
@@ -44,9 +51,9 @@ type
 
   PArrayInfo=^TArrayInfo;
   TArrayInfo=
-{$ifndef FPC_REQUIRES_PROPER_ALIGNMENT}
+{$ifdef USE_PACKED}
   packed
-{$endif FPC_REQUIRES_PROPER_ALIGNMENT}
+{$endif USE_PACKED}
   record
     Size: SizeInt;
     ElCount: SizeInt;