Bladeren bron

* Haiku : adjust alignment of records the C way.

This should fix Haiku on 32 bits CPU while not breaking the 64 bits version.

git-svn-id: trunk@40766 -
olivier 6 jaren geleden
bovenliggende
commit
4d7c0ce1b3
2 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 2 0
      rtl/haiku/ostypes.inc
  2. 2 0
      rtl/haiku/ptypes.inc

+ 2 - 0
rtl/haiku/ostypes.inc

@@ -100,6 +100,8 @@ TYPE
   TUtsName= utsname;
   pUtsName= ^utsname;
 
+{$packrecords c}
+
   { file characteristics services }
    stat    = record { the types are real}
         st_dev        : dev_t;             // inode's device

+ 2 - 0
rtl/haiku/ptypes.inc

@@ -21,6 +21,8 @@
 
 {$i ctypes.inc}
 
+{$packrecords c}
+
 type
   fsblkcnt_t = clonglong;
   TStatfs = packed record