Browse Source

* fix integer message dispatch on ppc64-darwin by temporarily setting the correct record alignment

git-svn-id: trunk@16271 -
tom_at_work 14 years ago
parent
commit
0cb36ee173
1 changed files with 3 additions and 1 deletions
  1. 3 1
      rtl/inc/objpas.inc

+ 3 - 1
rtl/inc/objpas.inc

@@ -546,6 +546,8 @@
       procedure TObject.Dispatch(var message);
       procedure TObject.Dispatch(var message);
 
 
         type
         type
+{$PUSH}
+{$PACKRECORDS NORMAL}
            PMsgIntTable = ^TMsgIntTable;
            PMsgIntTable = ^TMsgIntTable;
            TMsgIntTable = record
            TMsgIntTable = record
               index : dword;
               index : dword;
@@ -557,7 +559,7 @@
               count : longint;
               count : longint;
               msgs : array[0..0] of TMsgIntTable;
               msgs : array[0..0] of TMsgIntTable;
            end;
            end;
-
+{$POP}
         var
         var
            index : dword;
            index : dword;
            count,i : longint;
            count,i : longint;