diff options
author | Jackson Harper <jacksonh@gmail.com> | 2010-09-24 08:26:29 +0400 |
---|---|---|
committer | Jackson Harper <jacksonh@gmail.com> | 2010-09-24 08:26:29 +0400 |
commit | 7757931e8e147b1a46ef62e553b258a011f802a3 (patch) | |
tree | db5c35b0576a818ae871aff9960906651de02b56 | |
parent | 5a55034e9359050996108f9150bd3f932c675eac (diff) |
On 64bit this is turning into a 16 byte struct, this works around the issue.2.8-rc1
-rw-r--r-- | mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs b/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs index 902ecc2e29f..9edf9d3f650 100644 --- a/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs +++ b/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs @@ -1165,7 +1165,7 @@ namespace Mono.Unix.Native { EPOLL_CTL_MOD = 3, } - [StructLayout (LayoutKind.Explicit, Size=12)] + [StructLayout (LayoutKind.Explicit, Size=12, Pack=1)] public struct EpollEvent { [FieldOffset (0)] public EpollEvents events; |