浏览代码

* made several OS interfacing records non-packed, since they are not packed
in the system headers either

git-svn-id: trunk@20652 -

Jonas Maebe 13 年之前
父节点
当前提交
87f7d65650
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      rtl/darwin/ptypes.inc
  2. 1 1
      rtl/darwin/signal.inc
  3. 1 1
      rtl/darwin/termios.inc

+ 1 - 1
rtl/darwin/ptypes.inc

@@ -99,7 +99,7 @@ type
     ptimeval = ^timeval;
     TTimeVal = timeval;
 
-    timespec = packed record
+    timespec = record
       tv_sec   : time_t;
       tv_nsec  : clong;
     end;

+ 1 - 1
rtl/darwin/signal.inc

@@ -219,7 +219,7 @@
     SigActionHandler = procedure (Sig: cint; info : psiginfo; SigContext:PSigContext); cdecl;
 
 
-    SigActionRec = packed record
+    SigActionRec = record
 {
       case byte of
         0: (Sh: SignalHandler; Sa_Flags: longint; Sa_Mask: SigSet);

+ 1 - 1
rtl/darwin/termios.inc

@@ -151,7 +151,7 @@
 // as in linux freebsd netbsd and openbsd
 // Start
 Type
-  winsize = packed record
+  winsize = record
     ws_row,
     ws_col,
     ws_xpixel,