Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Harper <jacksonh@gmail.com>2010-09-24 08:26:29 +0400
committerJackson Harper <jacksonh@gmail.com>2010-09-24 08:26:29 +0400
commit7757931e8e147b1a46ef62e553b258a011f802a3 (patch)
treedb5c35b0576a818ae871aff9960906651de02b56
parent5a55034e9359050996108f9150bd3f932c675eac (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.cs2
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;