Skip to content

Commit 7f417fa

Browse files
charlesrocketnikneym
authored andcommitted
fix: void Operation.machport for non-osx
1 parent 7d74a1b commit 7f417fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/kqueue.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,7 @@ pub const Operation = union(OperationType) {
15481548
c: *Completion,
15491549
},
15501550

1551-
machport: if (!builtin.os.tag.isDarwin()) struct {} else struct {
1551+
machport: if (!builtin.os.tag.isDarwin()) void else struct {
15521552
port: posix.system.mach_port_name_t,
15531553
buffer: ReadBuffer,
15541554
},

0 commit comments

Comments
 (0)