提交 7757931e 编写于 作者: J Jackson Harper

On 64bit this is turning into a 16 byte struct, this works around the issue.

上级 5a55034e
...@@ -1165,7 +1165,7 @@ namespace Mono.Unix.Native { ...@@ -1165,7 +1165,7 @@ namespace Mono.Unix.Native {
EPOLL_CTL_MOD = 3, EPOLL_CTL_MOD = 3,
} }
[StructLayout (LayoutKind.Explicit, Size=12)] [StructLayout (LayoutKind.Explicit, Size=12, Pack=1)]
public struct EpollEvent { public struct EpollEvent {
[FieldOffset (0)] [FieldOffset (0)]
public EpollEvents events; public EpollEvents events;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册