Skip to content

Commit

Permalink
impl-posix: Fix darwin build.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-monax committed Jan 24, 2025
1 parent a3da0fc commit ab1a531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impls/impl-posix/kevent/async.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct DarwinSched :
}

struct timespec _computeTimeout(Instant until) {
Instant now = Sys::now();
Instant now = Sys::instant();
Duration delta = Duration::zero();
if (now < until)
delta = until - now;
Expand Down

0 comments on commit ab1a531

Please sign in to comment.