Ver Fonte

* move definition of USE_PACKED from rtti.inc to rttidecl.inc

git-svn-id: trunk@39249 -
svenbarth há 7 anos atrás
pai
commit
bbf578b193
2 ficheiros alterados com 8 adições e 7 exclusões
  1. 0 7
      rtl/inc/rtti.inc
  2. 8 0
      rtl/inc/rttidecl.inc

+ 0 - 7
rtl/inc/rtti.inc

@@ -14,13 +14,6 @@
 
 { Run-Time type information routines }
 
-{$ifndef FPC_REQUIRES_PROPER_ALIGNMENT}
-  {$define USE_PACKED}
-{$endif}
-{$ifdef VER2_6}
-  {$define USE_PACKED}
-{$endif}
-
 type
   PRecordElement=^TRecordElement;
   TRecordElement=

+ 8 - 0
rtl/inc/rttidecl.inc

@@ -16,6 +16,14 @@
  **********************************************************************}
 
 
+{$ifndef FPC_REQUIRES_PROPER_ALIGNMENT}
+  {$define USE_PACKED}
+{$endif}
+{$ifdef VER2_6}
+  {$define USE_PACKED}
+{$endif}
+
+
 type
   PTypeKind = ^TTypeKind;