We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8439141 commit d5fad39Copy full SHA for d5fad39
core/sys/linux/types.odin
@@ -1446,9 +1446,16 @@ EPoll_Data :: struct #raw_union {
1446
u64: u64,
1447
}
1448
1449
-EPoll_Event :: struct #packed {
1450
- events: EPoll_Event_Set,
1451
- data: EPoll_Data,
+when ODIN_ARCH == .amd64 || ODIN_ARCH == .i386 {
+ EPoll_Event :: struct #packed {
+ events: EPoll_Event_Set,
1452
+ data: EPoll_Data,
1453
+ }
1454
+} else {
1455
+ EPoll_Event :: struct {
1456
1457
1458
1459
1460
1461
/*
0 commit comments