Browse Source

* alignment fixed

florian 21 years ago
parent
commit
7adab53bff
1 changed files with 9 additions and 2 deletions
  1. 9 2
      tests/test/cg/tcalcst1.pp

+ 9 - 2
tests/test/cg/tcalcst1.pp

@@ -73,7 +73,11 @@ type
 
   tprocedure = procedure;
 
-  tsmallrecord = packed record
+  tsmallrecord =
+{$ifndef FPC_REQUIRES_PROPER_ALIGNMENT}
+  packed
+{$endif FPC_REQUIRES_PROPER_ALIGNMENT}
+  record
     b: byte;
     w: word;
   end;
@@ -845,7 +849,10 @@ end.
 
 {
   $Log$
-  Revision 1.6  2004-03-27 19:18:01  florian
+  Revision 1.7  2004-03-27 19:20:41  florian
+    * alignment fixed
+
+  Revision 1.6  2004/03/27 19:18:01  florian
   *** empty log message ***
 
   Revision 1.5  2003/04/22 10:24:29  florian