aboutsummaryrefslogtreecommitdiff
path: root/src/io/io_darwin.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-08-13 21:58:31 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-08-13 21:58:31 -0700
commite210f271bb1c1e1c26f6d29ca487ca9795767694 (patch)
tree58075a4b4594292f9ec5c99f33ce0f013c469756 /src/io/io_darwin.zig
parent64b20cac8855ed439c8159ef263f2a40f59b3ce4 (diff)
downloadbun-e210f271bb1c1e1c26f6d29ca487ca9795767694.tar.gz
bun-e210f271bb1c1e1c26f6d29ca487ca9795767694.tar.zst
bun-e210f271bb1c1e1c26f6d29ca487ca9795767694.zip
Fix macOS build
Diffstat (limited to 'src/io/io_darwin.zig')
-rw-r--r--src/io/io_darwin.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/io_darwin.zig b/src/io/io_darwin.zig
index f72ea73ae..5157b0198 100644
--- a/src/io/io_darwin.zig
+++ b/src/io/io_darwin.zig
@@ -491,7 +491,7 @@ pub fn hasNoWork(this: *IO) bool {
return this.pending_count == 0 and this.io_inflight == 0 and this.io_pending.peek() == null and this.completed.peek() == null and this.timeouts.peek() == null;
}
-pub fn init(_: u12, _: u32) !IO {
+pub fn init(_: u12, _: u32, _: anytype) !IO {
const kq = try os.kqueue();
assert(kq > -1);
return IO{ .kq = kq };