瀏覽代碼

* fix 64bit epoll "special" packing

git-svn-id: trunk@4292 -
Almindor 19 年之前
父節點
當前提交
3d1370bf8b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/linux/linux.pp

+ 1 - 1
rtl/linux/linux.pp

@@ -127,7 +127,7 @@ type
   TEPoll_Data =  Epoll_Data;
   PEPoll_Data = ^Epoll_Data;
 
-  EPoll_Event = record
+  EPoll_Event = {$ifdef cpu64} packed {$endif} record
     Events: cuint32;
     Data  : TEpoll_Data;
   end;